SST/macro
minimal_routing.h
Go to the documentation of this file.
1 #ifndef sstmac_hardware_network_topology_routing_BASIC_ROUTING_H
2 #define sstmac_hardware_network_topology_routing_BASIC_ROUTING_H
3 
5 
6 namespace sstmac {
7 namespace hw {
8 
9 /**
10  * @brief The minimal_router class
11  * Router that performs
12  */
14  public structured_router
15 {
16 
17  public:
19  structured_router(routing::minimal){}
20 
21  virtual ~minimal_router() {}
22 
23  virtual void
24  route(packet* pkt);
25 
26  std::string
27  to_string() const {
28  return "minimal router";
29  }
30 
31  virtual void
32  finalize_init();
33 
34  virtual void
35  set_topology(topology *top);
36 
37  protected:
39  structured_router(algo){}
40 
41  virtual void
43 
44 };
45 
46 }
47 }
48 
49 
50 #endif // BASIC_ROUTING_H
51 
minimal_router(routing::algorithm_t algo)
The structured_router class Implements a router that computes path on-the-fly using the geometry of t...
The minimal_router class Router that performs.
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual void finalize_init()
virtual void route(packet *pkt)
std::string to_string() const
virtual void set_topology(topology *top)
set_topology Set the topology to be used for route computations.