- int mode_int = A_surfxml_AS_routing_None;
- if (not strcmp(mode, "Full"))
- mode_int = A_surfxml_AS_routing_Full;
- else if (not strcmp(mode, "Floyd"))
- mode_int = A_surfxml_AS_routing_Floyd;
- else if (not strcmp(mode, "Dijkstra"))
- mode_int = A_surfxml_AS_routing_Dijkstra;
- else if (not strcmp(mode, "DijkstraCache"))
- mode_int = A_surfxml_AS_routing_DijkstraCache;
- else if (not strcmp(mode, "Vivaldi"))
- mode_int = A_surfxml_AS_routing_Vivaldi;
- else if (not strcmp(mode, "Cluster"))
- mode_int = A_surfxml_AS_routing_Cluster;
- else if (not strcmp(mode, "none"))
- mode_int = A_surfxml_AS_routing_None;
- else xbt_die("Don't have the model name '%s'",mode);
-
- s_sg_platf_AS_cbarg_t AS;