X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8735a101c4a502473ba7381e88aec514ebe1b828..ea74f5d95928a521a588737e81f1de94eef25d19:/include/simgrid/kernel/routing/VivaldiZone.hpp diff --git a/include/simgrid/kernel/routing/VivaldiZone.hpp b/include/simgrid/kernel/routing/VivaldiZone.hpp index ab0ad8c814..2b4d6b2d2a 100644 --- a/include/simgrid/kernel/routing/VivaldiZone.hpp +++ b/include/simgrid/kernel/routing/VivaldiZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,7 +6,7 @@ #ifndef SURF_ROUTING_VIVALDI_HPP_ #define SURF_ROUTING_VIVALDI_HPP_ -#include +#include #include namespace simgrid { @@ -44,12 +44,11 @@ namespace routing { * were shown superior to the Vivaldi system and could be also implemented in SimGrid. */ -class XBT_PRIVATE VivaldiZone : public ClusterZone { +class XBT_PRIVATE VivaldiZone : public StarZone { public: - explicit VivaldiZone(const std::string& name); - - void set_peer_link(NetPoint* netpoint, double bw_in, double bw_out, const std::string& coord); - void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override; + using StarZone::StarZone; + void set_peer_link(NetPoint* netpoint, double bw_in, double bw_out); + void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override; }; namespace vivaldi {