Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move the surf::As* classes into their own files
[simgrid.git] / src / surf / AsVivaldi.hpp
similarity index 51%
rename from src/surf/surf_routing_vivaldi.hpp
rename to src/surf/AsVivaldi.hpp
index 3795d69..1e9c632 100644 (file)
@@ -1,29 +1,17 @@
-/* Copyright (c) 2013-2015. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2013-2016. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "surf_routing_RoutedGraph.hpp"
-#include "xbt/swag.h"
-
-
 #ifndef SURF_ROUTING_VIVALDI_HPP_
 #define SURF_ROUTING_VIVALDI_HPP_
 
-/* ************************************************** */
-/* **************  Vivaldi ROUTING   **************** */
-XBT_PRIVATE AS_t model_vivaldi_create(void);      /* create structures for vivaldi routing model */
+#include "src/surf/AsRoutedGraph.hpp"
 
 namespace simgrid {
 namespace surf {
 
-/***********
- * Classes *
- ***********/
-class XBT_PRIVATE AsVivaldi;
-
-class AsVivaldi: public AsRoutedGraph {
+class XBT_PRIVATE AsVivaldi: public AsRoutedGraph {
 public:
   AsVivaldi(const char *name);
   ~AsVivaldi() {};