12 #ifndef SSTMAC_HARDWARE_NETWORK_TOPOLOGY_FAKE_TOPOLOGY_H_INCLUDED 13 #define SSTMAC_HARDWARE_NETWORK_TOPOLOGY_FAKE_TOPOLOGY_H_INCLUDED 26 return "fake topology";
82 "switchinterconnect::fake_topology::diameter: don't call this");
virtual int diameter() const
void minimal_route_to_coords(const coordinates ¤t_coords, const coordinates &dest_coords, structured_routable::path &path) const
Workhorse function for implementing minimal_route_to_switch and #minimal_route_to_node.
int num_hops(node_id src, node_id dst) const
void convert_to_dimdir(int outport, int &dim, int &dir) const
int convert_to_port(int dim, int dir) const
void connect_objects(internal_connectable_map &objects)
Given a set of connectables, connect them appropriately.
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
switch_id switch_number(const coordinates &coords) const
int ndimensions() const
The number of distinct 'dimensions' in the topology.
virtual void productive_path(int dim, const coordinates &src, const coordinates &dst, structured_routable::path &path) const
#define spkt_throw(exc,...)
int minimal_distance(const coordinates ¤t_coords, const coordinates &dest_coords) const
The function accepts either source or node coordinates.
Encapsulates a topology like torus, fat tree, butterfly which has a regular, well-defined structure...
int num_leaf_switches() const
Structured topologies can be direct (torus) or indirect (fat tree).
A function was intentionally unimplemented because it doesn't make sense, or it is ongoing work...
node_id node_addr(const std::vector< int > &coords) const
virtual std::string to_string() const
void compute_switch_coords(switch_id swid, coordinates &coords) const
Compute coordinates (e.g.
switch_id switch_number(const std::vector< int > &coords) const