X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..6a8dfdb49f69b809acd48b63087e285e1218cbdb:/src/surf/surf_routing_floyd.c diff --git a/src/surf/surf_routing_floyd.c b/src/surf/surf_routing_floyd.c index 5bce7d4548..0c1d32ad9d 100644 --- a/src/surf/surf_routing_floyd.c +++ b/src/surf/surf_routing_floyd.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010, 2011. The SimGrid Team. +/* Copyright (c) 2009-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -19,7 +19,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_floyd, surf, "Routing part of surf"); typedef struct { s_as_t generic_routing; - /* vars for calculate the floyd algorith. */ + /* vars for calculate the floyd algorithm. */ int *predecessor_table; double *cost_table; sg_platf_route_cbarg_t *link_table; @@ -146,6 +146,7 @@ AS_t model_floyd_create(void) new_component->generic_routing.get_route_and_latency = floyd_get_route_and_latency; new_component->generic_routing.get_onelink_routes = floyd_get_onelink_routes; + new_component->generic_routing.get_graph = generic_get_graph; new_component->generic_routing.finalize = floyd_finalize; return (AS_t)new_component; }