1 /* Copyright (c) 2009-2011, 2013-2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 #include "src/surf/surf_routing_private.hpp"
8 #include "src/surf/surf_routing_none.hpp"
10 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
14 AsNone::AsNone(const char*name)
20 xbt_dynar_t AsNone::getOneLinkRoutes() {
24 void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/,
25 sg_platf_route_cbarg_t /*res*/, double *lat)
30 void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
32 XBT_INFO("No routing no graph");
35 sg_platf_route_cbarg_t AsNone::getBypassRoute(NetCard * /*src*/, NetCard * /*dst*/, double * /*lat*/) {
39 void AsNone::parseRoute(sg_platf_route_cbarg_t /*route*/){
40 THROW_IMPOSSIBLE; /* No. */
43 void AsNone::parseASroute(sg_platf_route_cbarg_t /*route*/){
46 void AsNone::parseBypassroute(sg_platf_route_cbarg_t /*e_route*/){