16 #ifndef SSTMAC_HARDWARE_NETWORK_TOPOLOGY_flattenedbutterfly_H_INCLUDED 17 #define SSTMAC_HARDWARE_NETWORK_TOPOLOGY_flattenedbutterfly_H_INCLUDED 37 return "flattened butterfly topology";
virtual ~flattened_butterfly()
The abstract_butterfly class Encapsulates operations common to both butterfly and flattened_butterfly...
int minimal_distance(const coordinates &src_coords, const coordinates &dest_coords) const
The function accepts either source or node coordinates.
The flattened_butterfly class Encapsulates a flattened butterfly topology as described in "High Perfo...
virtual void productive_path(int dim, const coordinates &src, const coordinates &dst, structured_routable::path &path) const
virtual void connect_objects(internal_connectable_map &switches)
Given a set of connectables, connect them appropriately.
virtual std::string to_string() const
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void init_factory_params(sprockit::sim_parameters *params)
virtual void compute_switch_coords(switch_id uid, coordinates &coords) const
Compute coordinates (e.g.
void minimal_route_to_coords(const coordinates &src_coords, const coordinates &dest_coords, structured_routable::path &path) const
Workhorse function for implementing minimal_route_to_switch and #minimal_route_to_node.
switch_id switch_number(const coordinates &coords) const
int ndimensions() const
The number of distinct 'dimensions' in the topology.
virtual int convert_to_port(int dim, int dir) const