1 #include "surf_routing.hpp"
3 #ifndef SURF_ROUTING_NONE_HPP_
4 #define SURF_ROUTING_NONE_HPP_
6 class AsNone : public As {
11 void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst, sg_platf_route_cbarg_t into, double *latency);
12 xbt_dynar_t getOneLinkRoutes();
13 void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges);
14 sg_platf_route_cbarg_t getBypassRoute(RoutingEdgePtr src, RoutingEdgePtr dst, double *lat);
16 /* The parser calls the following functions to inform the routing models
17 * that a new element is added to the AS currently built.
19 * Of course, only the routing model of this AS is informed, not every ones */
20 int parsePU(RoutingEdgePtr elm); /* A host or a router, whatever */
21 int parseAS( RoutingEdgePtr elm);
22 void parseRoute(sg_platf_route_cbarg_t route);
23 void parseASroute(sg_platf_route_cbarg_t route);
24 void parseBypassroute(sg_platf_route_cbarg_t e_route);
28 #endif /* SURF_ROUTING_NONE_HPP_ */