X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5faf49cdf3f8ad8751317b857a6d3134fe07eda3..ed6092e7baf2eb4a875f5b8a667838ef1979862c:/src/surf/surf_routing_dijkstra.hpp diff --git a/src/surf/surf_routing_dijkstra.hpp b/src/surf/surf_routing_dijkstra.hpp index 621d248cef..7299cb7fde 100644 --- a/src/surf/surf_routing_dijkstra.hpp +++ b/src/surf/surf_routing_dijkstra.hpp @@ -1,3 +1,9 @@ +/* Copyright (c) 2013-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #include "surf_routing_generic.hpp" #ifndef SURF_ROUTING_DIJKSTRA_HPP_ @@ -17,6 +23,12 @@ typedef struct route_cache_element { int size; } s_route_cache_element_t, *route_cache_element_t; +/*********** + * Classes * + ***********/ +class AsDijkstra; +typedef AsDijkstra *AsDijkstraPtr; + class AsDijkstra : public AsGeneric { public: AsDijkstra(); @@ -29,6 +41,7 @@ public: void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst, sg_platf_route_cbarg_t route, double *lat); xbt_dynar_t getOnelinkRoutes(); void getRouteAndLatency(sg_platf_route_cbarg_t route, double *lat); + void parseASroute(sg_platf_route_cbarg_t route); void parseRoute(sg_platf_route_cbarg_t route); void end();