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