+ /**
+ * @brief Parse the topology parameters from string format
+ *
+ * @param topo_parameters String with topology, e.g. "2;4,4;1,2;1,2"
+ */
+ static s4u::FatTreeParams parse_topo_parameters(const std::string& topo_parameters);
+ /** @brief Checks topology parameters */
+ static void check_topology(unsigned int n_levels, const std::vector<unsigned int>& down_links,
+ const std::vector<unsigned int>& up_links, const std::vector<unsigned int>& link_count);
+ /** @brief Set FatTree topology */
+ void set_topology(unsigned int n_levels, const std::vector<unsigned int>& down_links,
+ const std::vector<unsigned int>& up_links, const std::vector<unsigned int>& link_count);
+ void add_processing_node(int id, resource::StandardLinkImpl* limiter, resource::StandardLinkImpl* loopback);
+ /**
+ * @brief Build upper levels (switches) in Fat-Tree