X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7fc4c876183a182ae358b6b2e51059dd84ef614f..30dcd207e3a68158b0af4ed3d6fccf620cfe2966:/include/simgrid/kernel/routing/FloydZone.hpp diff --git a/include/simgrid/kernel/routing/FloydZone.hpp b/include/simgrid/kernel/routing/FloydZone.hpp index 19c7f2086b..990071a265 100644 --- a/include/simgrid/kernel/routing/FloydZone.hpp +++ b/include/simgrid/kernel/routing/FloydZone.hpp @@ -23,9 +23,9 @@ namespace routing { */ class XBT_PRIVATE FloydZone : public RoutedZone { /* vars to compute the Floyd algorithm. */ - std::vector predecessor_table_; - std::vector cost_table_; - std::vector link_table_; + std::vector> predecessor_table_; + std::vector> cost_table_; + std::vector>> link_table_; void init_tables(unsigned int table_size); void do_seal() override; @@ -34,11 +34,10 @@ public: using RoutedZone::RoutedZone; FloydZone(const FloydZone&) = delete; FloydZone& operator=(const FloydZone&) = delete; - ~FloydZone() override; - void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override; + void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override; void add_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoint* gw_dst, - std::vector& link_list, bool symmetrical) override; + const std::vector& link_list, bool symmetrical) override; }; } // namespace routing } // namespace kernel