1 #ifndef REGULAR_ROUTER_H 2 #define REGULAR_ROUTER_H 84 #endif // REGULAR_ROUTER_H virtual void set_switch(network_switch *sw)
set_switch Set the parent switch using this router to perform route computations
virtual void productive_paths_to_switch(switch_id dst, structured_routable::path_set &paths)
structured_router(routing::algorithm_t algo)
The structured_router class Implements a router that computes path on-the-fly using the geometry of t...
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void minimal_route_to_node(node_id node_addr, structured_routable::path &path)
virtual void minimal_route_to_switch(switch_id sw_addr, structured_routable::path &path)
virtual ~structured_router()
structured_topology * regtop_
virtual void set_topology(topology *top)
set_topology Set the topology to be used for route computations.
Encapsulates a topology like torus, fat tree, butterfly which has a regular, well-defined structure...
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...