X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0dae02cb0e0cd285cf41a58dc60e8ff992949b37..507785035fffb029577ed608142f0cb8a43f77e9:/src/surf/surf_routing_full.hpp diff --git a/src/surf/surf_routing_full.hpp b/src/surf/surf_routing_full.hpp index 0473e9289d..0abbae3fa7 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,19 +20,17 @@ namespace surf { class XBT_PRIVATE AsFull; /** Full routing: fast, large memory requirements, fully expressive */ -class AsFull: public AsGeneric { +class AsFull: public AsRoutedGraph { public: - AsFull() {} + AsFull(const char*name); void Seal() override; ~AsFull(); 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; }; }