Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename As::getRouteAndLatency into As::getLocalRoute
[simgrid.git] / src / kernel / routing / AsRoutedGraph.hpp
index 89dc2e2..ad5daa7 100644 (file)
@@ -9,14 +9,14 @@
 #include "src/kernel/routing/AsImpl.hpp"
 
 namespace simgrid {
+namespace kernel {
 namespace routing {
 
 class XBT_PRIVATE AsRoutedGraph : public AsImpl {
 public:
-  explicit AsRoutedGraph(const char*name);
-  ~AsRoutedGraph() override;
+  explicit AsRoutedGraph(As* father, const char* name);
 
-  xbt_dynar_t getOneLinkRoutes() override;
+  void getOneLinkRoutes(std::vector<Onelink*>* accumulator) override;
 
   void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override;
   virtual sg_platf_route_cbarg_t newExtendedRoute(RoutingMode hierarchy, sg_platf_route_cbarg_t routearg, int change_order);
@@ -25,7 +25,6 @@ protected:
   void addRouteCheckParams(sg_platf_route_cbarg_t route);
 };
 
-}
-}
+}}} // namespace
 
 #endif /* SIMGRID_ROUTING_GENERIC_HPP_ */