1 #include "surf_routing_none.hpp"
2 #include "network_interface.hpp"
3 #include "surf_routing_cluster.hpp"
6 #ifndef SURF_ROUTING_CLUSTER_TORUS_HPP_
7 #define SURF_ROUTING_CLUSTER_TORUS_HPP_
10 typedef AsClusterTorus *AsClusterTorusPtr;
13 class AsClusterTorus: public AsCluster {
16 virtual void create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position);
17 virtual void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst, sg_platf_route_cbarg_t into, double *latency);
18 void parse_specific_arguments(sg_platf_cluster_cbarg_t cluster);
21 xbt_dynar_t p_dimensions;