X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/928dc2ffdce11b4ce364eda56a602c132ee6cb71..HEAD:/include/simgrid/kernel/routing/ClusterZone.hpp diff --git a/include/simgrid/kernel/routing/ClusterZone.hpp b/include/simgrid/kernel/routing/ClusterZone.hpp index 9d5153215c..8fc45120af 100644 --- a/include/simgrid/kernel/routing/ClusterZone.hpp +++ b/include/simgrid/kernel/routing/ClusterZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2023. 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. */ @@ -11,9 +11,7 @@ #include -namespace simgrid { -namespace kernel { -namespace routing { +namespace simgrid::kernel::routing { /** * @brief Placeholder for old ClusterZone class @@ -135,9 +133,6 @@ protected: return private_links_.find(position) != private_links_.end(); } - void get_graph(const s_xbt_graph_t* graph, std::map>* nodes, - std::map>* edges) override; - unsigned long node_pos(unsigned long id) const { return id * num_links_per_node_; } unsigned long node_pos_with_loopback(unsigned long id) const { return node_pos(id) + (has_loopback_ ? 1 : 0); } @@ -153,8 +148,6 @@ public: return node_pos_with_loopback(id) + (has_limiter_ ? 1 : 0); } }; -} // namespace routing -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::routing #endif /* SIMGRID_ROUTING_CLUSTER_HPP_ */