]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/surf_routing_floyd.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merging changes done by Steven, Samuel and Luka, regarding simulation of StarPU-MPI
[simgrid.git] / src / surf / surf_routing_floyd.cpp
index adc6a538360d11c82c3c4d6b26112f6e154b39f2..8309a02721010ddc2e4bc94fc2454e7d63affea3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2014. The SimGrid Team.
+/* Copyright (c) 2009-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -15,14 +15,17 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_floyd, surf, "Routing part of surf");
 
 AS_t model_floyd_create(void)
 {
-  return new AsFloyd();
+  return new simgrid::surf::AsFloyd();
 }
 
 void model_floyd_end(AS_t current_routing)
 {
-  static_cast<AsFloyd*>(current_routing)->end();
+  static_cast<simgrid::surf::AsFloyd*>(current_routing)->end();
 }
 
+namespace simgrid {
+namespace surf {
+
 AsFloyd::AsFloyd(): AsGeneric() {
   p_predecessorTable = NULL;
   p_costTable = NULL;
@@ -319,3 +322,6 @@ void AsFloyd::end(){
     }
   }
 }
+
+}
+}