X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6e8a5aeab4a376b73cdcbe116d2437af319cafc3..de57b34916659892d2dc26edabf552253afe2c18:/src/kernel/routing/FloydZone.hpp diff --git a/src/kernel/routing/FloydZone.hpp b/src/kernel/routing/FloydZone.hpp index a612425422..c7479c23a5 100644 --- a/src/kernel/routing/FloydZone.hpp +++ b/src/kernel/routing/FloydZone.hpp @@ -26,15 +26,17 @@ public: explicit FloydZone(NetZone* father, std::string name); ~FloydZone() override; - void getLocalRoute(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t into, double* latency) override; - void addRoute(sg_platf_route_cbarg_t route) override; + void getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override; + void addRoute(kernel::routing::NetPoint* src, kernel::routing::NetPoint* dst, kernel::routing::NetPoint* gw_src, + kernel::routing::NetPoint* gw_dst, std::vector& link_list, + bool symmetrical) override; void seal() override; private: /* vars to compute the Floyd algorithm. */ int* predecessorTable_; double* costTable_; - sg_platf_route_cbarg_t* linkTable_; + RouteCreationArgs** linkTable_; }; } }