Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename RoutingEdge into NetCard
[simgrid.git] / src / surf / surf_routing_floyd.hpp
index 592e0d5..1302a84 100644 (file)
@@ -12,6 +12,9 @@
 
 #include "surf_routing_generic.hpp"
 
+namespace simgrid {
+namespace surf {
+
 /***********
  * Classes *
  ***********/
@@ -22,7 +25,7 @@ public:
   AsFloyd();
   ~AsFloyd();
 
-  void getRouteAndLatency(RoutingEdge *src, RoutingEdge *dst, sg_platf_route_cbarg_t into, double *latency);
+  void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency);
   xbt_dynar_t getOneLinkRoutes();
   void parseASroute(sg_platf_route_cbarg_t route);
   void parseRoute(sg_platf_route_cbarg_t route);
@@ -47,6 +50,7 @@ public:
   sg_platf_route_cbarg_t *p_linkTable;
 };
 
-
+}
+}
 
 #endif /* SURF_ROUTING_FLOYD_HPP_ */