Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
leak--; dynar abuse--;
[simgrid.git] / src / surf / surf_routing_cluster_torus.hpp
1 #include "surf_routing_none.hpp"
2 #include "network_interface.hpp"
3 #include "surf_routing_cluster.hpp"
4
5
6 #ifndef SURF_ROUTING_CLUSTER_TORUS_HPP_
7 #define SURF_ROUTING_CLUSTER_TORUS_HPP_
8
9 class AsClusterTorus;
10 typedef AsClusterTorus *AsClusterTorusPtr;
11
12
13 class AsClusterTorus: public AsCluster {
14 public:
15    AsClusterTorus();
16    virtual ~AsClusterTorus();
17    virtual void create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position);
18    virtual void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst, sg_platf_route_cbarg_t into, double *latency);
19    void parse_specific_arguments(sg_platf_cluster_cbarg_t cluster);
20
21
22    xbt_dynar_t p_dimensions;
23
24 };
25
26
27 #endif