SST/macro
Public Member Functions | List of all members
sstmac::hw::minimal_adaptive_router Class Reference

The minimal_adaptive_router class Performs some amount of adaptive routing, choosing between the least congested of all possible minimal paths. More...

#include <minad_routing.h>

Inheritance diagram for sstmac::hw::minimal_adaptive_router:
Inheritance graph
Collaboration diagram for sstmac::hw::minimal_adaptive_router:
Collaboration graph

Public Member Functions

 minimal_adaptive_router ()
 
virtual std::string to_string () const
 
virtual void route (packet *pkt)
 
virtual void finalize_init ()
 
- Public Member Functions inherited from sstmac::hw::minimal_router
 minimal_router ()
 
virtual ~minimal_router ()
 
std::string to_string () const
 
virtual void set_topology (topology *top)
 set_topology Set the topology to be used for route computations. More...
 
- Public Member Functions inherited from sstmac::hw::structured_router
virtual ~structured_router ()
 
virtual void set_switch (network_switch *sw)
 set_switch Set the parent switch using this router to perform route computations More...
 
void minimal_route_to_node (node_id node_addr, structured_routable::path &path)
 
void minimal_routes_to_node (node_id node_addr, structured_routable::path &current_path, structured_routable::path_set &paths)
 minimal_routes_to_node Special version of routing function that computes all possible minimal paths. More...
 
virtual void minimal_route_to_switch (switch_id sw_addr, structured_routable::path &path)
 
virtual void productive_paths_to_switch (switch_id dst, structured_routable::path_set &paths)
 

Additional Inherited Members

- Protected Member Functions inherited from sstmac::hw::minimal_router
 minimal_router (routing::algorithm_t algo)
 
virtual void route (packet *pkt, structured_routable::path_set &paths)
 
- Protected Member Functions inherited from sstmac::hw::structured_router
 structured_router (routing::algorithm_t algo)
 
- Protected Attributes inherited from sstmac::hw::structured_router
structured_topologyregtop_
 

Detailed Description

The minimal_adaptive_router class Performs some amount of adaptive routing, choosing between the least congested of all possible minimal paths.

Router always takes a minimal path and is not able to discover ``better'' non-minimal paths.

Definition at line 16 of file minad_routing.h.

Constructor & Destructor Documentation

sstmac::hw::minimal_adaptive_router::minimal_adaptive_router ( )
inline

Definition at line 21 of file minad_routing.h.

Member Function Documentation

virtual void sstmac::hw::minimal_adaptive_router::finalize_init ( )
virtual

Reimplemented from sstmac::hw::minimal_router.

Referenced by to_string().

virtual void sstmac::hw::minimal_adaptive_router::route ( packet pkt)
virtual

Reimplemented from sstmac::hw::minimal_router.

Referenced by to_string().

virtual std::string sstmac::hw::minimal_adaptive_router::to_string ( ) const
inlinevirtual

Definition at line 25 of file minad_routing.h.

References finalize_init(), and route().

Here is the call graph for this function:


The documentation for this class was generated from the following file: