]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/kernel/routing/VivaldiZone.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New example: Torus cluster of multi-cpu hosts(Star Zones)
[simgrid.git] / include / simgrid / kernel / routing / VivaldiZone.hpp
index bf17c6cddccb42a0c22f8d615607dceffe858b36..cd0fc40de8d15d0bc8b9af53a7a9908e385f23cd 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_VIVALDI_HPP_
 #define SURF_ROUTING_VIVALDI_HPP_
 
-#include <simgrid/kernel/routing/ClusterZone.hpp>
+#include <simgrid/kernel/routing/StarZone.hpp>
 #include <xbt/Extendable.hpp>
 
 namespace simgrid {
@@ -44,11 +44,10 @@ 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) : ClusterZone(name) {}
-
-  void set_peer_link(NetPoint* netpoint, double bw_in, double bw_out, const std::string& coord);
+  using StarZone::StarZone;
+  void set_peer_link(NetPoint* netpoint, double bw_in, double bw_out);
   void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override;
 };