SST/macro
minad_routing.h
Go to the documentation of this file.
1 #ifndef SSTMAC_HARDWARE_NETWORK_ROUTING_ROUTER_MINAD_ROUTER_H
2 #define SSTMAC_HARDWARE_NETWORK_ROUTING_ROUTER_MINAD_ROUTER_H
3 
5 
6 namespace sstmac {
7 namespace hw {
8 
9 /**
10  * @brief The minimal_adaptive_router class
11  * Performs some amount of adaptive routing, choosing between
12  * the least congested of all possible minimal paths.
13  * Router always takes a minimal path and is not able
14  * to discover ``better'' non-minimal paths.
15  */
17  public minimal_router
18 {
19 
20  public:
23 
24  virtual std::string
25  to_string() const {
26  return "min_ad";
27  }
28 
29  virtual void
30  route(packet* pkt);
31 
32  virtual void
33  finalize_init();
34 
35 };
36 
37 
38 }
39 }
40 
41 
42 #endif // MINAD_ROUTER_H
43 
virtual void route(packet *pkt)
The minimal_router class Router that performs.
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
The minimal_adaptive_router class Performs some amount of adaptive routing, choosing between the leas...
Definition: minad_routing.h:16
virtual std::string to_string() const
Definition: minad_routing.h:25