X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa3426ffe35e9f09e17b5f09ee1264263b0a61b4..4b8be43e2c03939bc780b6112d841d8b839a79bb:/include/simgrid/s4u/As.hpp diff --git a/include/simgrid/s4u/As.hpp b/include/simgrid/s4u/As.hpp index 6758f4e19a..72921f9594 100644 --- a/include/simgrid/s4u/As.hpp +++ b/include/simgrid/s4u/As.hpp @@ -58,15 +58,16 @@ public: void addBypassRoute(sg_platf_route_cbarg_t e_route); protected: - As* father_ = nullptr; - char *name_ = nullptr; - xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes std::vector vertices_; // our content, as known to our graph routing algorithm (maps vertexId -> vertex) - std::map, std::vector*> bypassRoutes_; // srcName x dstName -> route - private: + As* father_ = nullptr; + char* name_ = nullptr; + bool sealed_ = false; // We cannot add more content when sealed + + std::map, std::vector*> bypassRoutes_; // src x dst -> route + xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes }; }}; // Namespace simgrid::s4u