X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7c5d4ad2147b19054293b385fd7d90fe6aacf54e..e14c7521c614fd08b97b5cec822b6e429012ba85:/src/kernel/routing/AsImpl.hpp diff --git a/src/kernel/routing/AsImpl.hpp b/src/kernel/routing/AsImpl.hpp index fa20c43c33..625aaa0793 100644 --- a/src/kernel/routing/AsImpl.hpp +++ b/src/kernel/routing/AsImpl.hpp @@ -61,17 +61,18 @@ namespace routing { * @param into Container into which the traversed links should be pushed * @param latency Accumulator in which the latencies should be added (caller must set it to 0) */ + protected: virtual void getRouteAndLatency(NetCard * src, NetCard * dst, sg_platf_route_cbarg_t into, double* latency) = 0; /** @brief retrieves the list of all routes of size 1 (of type src x dst x Link) */ - virtual void getOneLinkRoutes(std::vector * accumulator); /* returns whether we found a bypass path */ bool getBypassRoute(routing::NetCard * src, routing::NetCard * dst, /* OUT */ std::vector * links, double* latency); + public: + virtual void getOneLinkRoutes(std::vector * accumulator); virtual void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) = 0; static void getRouteRecursive(routing::NetCard * src, routing::NetCard * dst, /* OUT */ std::vector * links, double* latency); - enum class RoutingMode { unset = 0, /**< Undefined type */ base, /**< Base case: use simple link lists for routing */