1 #ifndef MULTIPATH_ROUTER_H 2 #define MULTIPATH_ROUTER_H 11 template <
class ParentRouter>
19 ParentRouter::route(pkt, paths);
20 int path_id = paths[0].geometric_id;
23 "multipath routing: using index %d", next_index);
29 std::vector<int> reds;
30 ParentRouter::set_topology(top);
33 int npaths = reds.size();
35 for (
int i=0; i < npaths; ++i){
42 ParentRouter::init_factory_params(params);
56 #endif // MULTIPATH_ROUTER_H
#define debug_printf(slot_bitmask,...)
cartesian_topology * top_
std::vector< router::structured_path > geom_paths_
virtual void configure_geometric_paths(std::vector< int > &redundancies)=0
configure_geometric_paths For all possible geometric or structure paths, compute their redundances in...
#define safe_cast(type,...)
First entry in VA_ARGS is the obj Second entry is optional being an error msg.
The cartesian_topology class Encapsulates a topology like torus that can be naturally mapped onto an ...
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual void init_factory_params(sprockit::sim_parameters *params)
virtual void set_topology(topology *top)
virtual void route(packet *pkt)