SST/macro
|
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>
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 ¤t_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_topology * | regtop_ |
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.
|
inline |
Definition at line 21 of file minad_routing.h.
|
virtual |
Reimplemented from sstmac::hw::minimal_router.
Referenced by to_string().
|
virtual |
Reimplemented from sstmac::hw::minimal_router.
Referenced by to_string().
|
inlinevirtual |
Definition at line 25 of file minad_routing.h.
References finalize_init(), and route().