1 #ifndef sstmac_hardware_network_topology_routing_VALIANT_ROUTER_H 2 #define sstmac_hardware_network_topology_routing_VALIANT_ROUTER_H 64 return 2*topology_vc + 1;
138 #endif // VALIANT_ROUTER_H virtual std::string to_string() const
virtual void route(packet *pkt)
next_action_t next_routing_stage(packet *pkt)
next_routing_stage Figure out which action is required for the packet
virtual void finalize_init()
valiant_router(routing::algorithm_t algo)
void configure_final_path(structured_routable::path &path)
configure_final_path Once the packet has switched to Valiant and reached the intermediate switch...
The minimal_router class Router that performs.
The valiant_router class Enacpsulates a router that performs oblivious, global routing according to "...
void configure_intermediate_path(structured_routable::path &path)
configure_intermediate_path Once the packet has switched to Valiant, compute a path to the chosen int...
virtual int second_stage_vc(int topology_vc)
The topology object specifies a virtual channel based purely on geometry.
virtual ~valiant_router()
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual int first_stage_vc(int topology_vc)
The topology object specifies a virtual channel based purely on geometry.
virtual next_action_t initial_step(structured_routable *rtbl, packet *pkt)
Different for pure valiant and UGAL.
void route_valiant(packet *pkt)
route_valiant Figure out if in intermediate or final stage and make appropriate routing computation ...
next_action_t intermediate_step(structured_routable *rtbl, packet *pkt)
intermediate_step