X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6534c58a2afafe609a4671073f6b20f839e20fd7..f4af50b182ee0b683c2928eae98e31dbe7fd0f3e:/src/surf/surf_routing_full.hpp diff --git a/src/surf/surf_routing_full.hpp b/src/surf/surf_routing_full.hpp index 76edfe66b6..30dd1cbefd 100644 --- a/src/surf/surf_routing_full.hpp +++ b/src/surf/surf_routing_full.hpp @@ -9,7 +9,7 @@ #include -#include "surf_routing_generic.hpp" +#include "surf_routing_RoutedGraph.hpp" namespace simgrid { namespace surf { @@ -20,7 +20,7 @@ namespace surf { class XBT_PRIVATE AsFull; /** Full routing: fast, large memory requirements, fully expressive */ -class AsFull: public AsGeneric { +class AsFull: public AsRoutedGraph { public: AsFull(const char*name); @@ -29,10 +29,9 @@ public: void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override; xbt_dynar_t getOneLinkRoutes() override; - void parseRoute(sg_platf_route_cbarg_t route) override; - void parseASroute(sg_platf_route_cbarg_t route) override; + void addRoute(sg_platf_route_cbarg_t route) override; - sg_platf_route_cbarg_t *p_routingTable = nullptr; + sg_platf_route_cbarg_t *routingTable_ = nullptr; }; }