/* 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 "src/surf/surf_routing_private.hpp"
#include "src/surf/surf_routing_full.hpp"
#include "src/surf/network_interface.hpp"
namespace simgrid {
namespace surf {
AsFull::AsFull(const char*name)
- : AsGeneric(name)
+ : AsRoutedGraph(name)
{
}
return a != b;
}
-void AsFull::parseRoute(sg_platf_route_cbarg_t route)
+void AsFull::addRoute(sg_platf_route_cbarg_t route)
{
const char *src = route->src;
const char *dst = route->dst;
NetCard *src_net_elm = sg_netcard_by_name_or_null(src);
NetCard *dst_net_elm = sg_netcard_by_name_or_null(dst);
- parseRouteCheckParams(route);
+ addRouteCheckParams(route);
size_t table_size = xbt_dynar_length(vertices_);