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;
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;
}