Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename As::getRouteAndLatency into As::getLocalRoute
[simgrid.git] / src / kernel / routing / AsFull.hpp
index bf7668b..00dc02b 100644 (file)
@@ -9,23 +9,22 @@
 #include "src/kernel/routing/AsRoutedGraph.hpp"
 
 namespace simgrid {
+namespace kernel {
 namespace routing {
 
 /** Full routing: fast, large memory requirements, fully expressive */
 class XBT_PRIVATE AsFull: public AsRoutedGraph {
 public:
-
-  explicit AsFull(const char*name);
+  explicit AsFull(As* father, const char* name);
   void seal() override;
   ~AsFull() override;
 
-  void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
+  void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override;
   void addRoute(sg_platf_route_cbarg_t route) override;
 
   sg_platf_route_cbarg_t *routingTable_ = nullptr;
 };
 
-}
-}
+}}} // namespaces
 
 #endif /* SIMGRID_ROUTING_FULL_HPP_ */