X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f..84faa3d6e37c6f49b627feca83e69b9d0435a3e4:/include/simgrid/kernel/routing/FatTreeZone.hpp diff --git a/include/simgrid/kernel/routing/FatTreeZone.hpp b/include/simgrid/kernel/routing/FatTreeZone.hpp index 484de14e25..f5802671ea 100644 --- a/include/simgrid/kernel/routing/FatTreeZone.hpp +++ b/include/simgrid/kernel/routing/FatTreeZone.hpp @@ -104,13 +104,6 @@ public: ~FatTreeZone() override; void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override; - /** @brief Generate the fat tree - * - * Once all processing nodes have been added, this will make sure the fat - * tree is generated by calling generateLabels(), generateSwitches() and - * then connection all nodes between them, using their label. - */ - void seal() override; /** @brief Read the parameters in topo_parameters field. * * It will also store the cluster for future use. @@ -120,6 +113,13 @@ public: void generate_dot_file(const std::string& filename = "fat_tree.dot") const; private: + /** @brief Generate the fat tree + * + * Once all processing nodes have been added, this will make sure the fat + * tree is generated by calling generateLabels(), generateSwitches() and + * then connection all nodes between them, using their label. + */ + void do_seal() override; // description of a PGFT (TODO : better doc) unsigned long levels_ = 0; std::vector num_children_per_node_; // number of children by node