SST/macro
fat_tree_local_adaptive_router.h
Go to the documentation of this file.
1 /*
2  * This file is part of SST/macroscale:
3  * The macroscale architecture simulator from the SST suite.
4  * Copyright (c) 2009 Sandia Corporation.
5  * This software is distributed under the BSD License.
6  * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7  * the U.S. Government retains certain rights in this software.
8  * For more information, see the LICENSE file in the top
9  * SST/macroscale directory.
10  */
11 
12 #ifndef SSTMAC_HARDWARE_NETWORK_SWTICHES_ROUTING_FATTREELOCALADAPTIVEROUTER_H_INCLUDED
13 #define SSTMAC_HARDWARE_NETWORK_SWTICHES_ROUTING_FATTREELOCALADAPTIVEROUTER_H_INCLUDED
14 
16 #include <sstmac/common/rng.h>
17 
18 namespace sstmac {
19 namespace hw {
20 
21 /**
22  * @brief The fat_tree_local_adaptive_router class
23  * Router encapsulating the special routing computations that must occur on
24  * a fat tree topology.
25  */
27  public fat_tree_router
28 {
29  public:
31 
34  {}
35 
36  virtual std::string
37  to_string() const {
38  return "fattreelarouter";
39  }
40 
41  virtual void
42  route(packet* pkt);
43 };
44 
45 }
46 }
47 #endif
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
The fat_tree_router class Router encapsulating the special routing computations that must occur on a ...
The fat_tree_local_adaptive_router class Router encapsulating the special routing computations that m...