return new simgrid::surf::AsFloyd();
}
-void model_floyd_end(AS_t current_routing)
-{
- static_cast<simgrid::surf::AsFloyd*>(current_routing)->end();
-}
-
namespace simgrid {
namespace surf {
/* Delete link_table */
for (i = 0; i < table_size; i++)
for (j = 0; j < table_size; j++) {
- generic_free_route(TO_FLOYD_LINK(i, j));
+ routing_route_free(TO_FLOYD_LINK(i, j));
}
xbt_free(p_linkTable);
/* Delete bypass dict */
xbt_dynar_free(&route->link_list);
}
-void AsFloyd::end(){
+void AsFloyd::Seal(){
unsigned int i, j, a, b, c;
/* set the size of table routing */