X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/831de10adaaf8910940aa280e2ac2dd075b5ffe5..c0950ef9f902ba40a2c05ca8748acecb3085e752:/src/kernel/routing/AsClusterTorus.hpp diff --git a/src/kernel/routing/AsClusterTorus.hpp b/src/kernel/routing/AsClusterTorus.hpp index b3b61ed079..8229fcc55d 100644 --- a/src/kernel/routing/AsClusterTorus.hpp +++ b/src/kernel/routing/AsClusterTorus.hpp @@ -9,18 +9,19 @@ #include "src/kernel/routing/AsCluster.hpp" namespace simgrid { - namespace routing { +namespace kernel { +namespace routing { - class XBT_PRIVATE AsClusterTorus : public simgrid::routing::AsCluster { + class XBT_PRIVATE AsClusterTorus : public AsCluster { public: - explicit AsClusterTorus(const char*name); + explicit AsClusterTorus(As* father, const char* name); ~AsClusterTorus() override; void create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position) override; - void getRouteAndLatency(NetCard * src, NetCard * dst, sg_platf_route_cbarg_t into, double *latency) override; + void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override; void parse_specific_arguments(sg_platf_cluster_cbarg_t cluster) override; private: xbt_dynar_t dimensions_ = nullptr; }; - }} +}}} #endif