Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert S4U to my current coding convention
[simgrid.git] / src / surf / surf_routing_vivaldi.hpp
index 43192be..3ab9c59 100644 (file)
@@ -4,9 +4,9 @@
 /* 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"
 
-#include "surf_routing_generic.hpp"
 
 #ifndef SURF_ROUTING_VIVALDI_HPP_
 #define SURF_ROUTING_VIVALDI_HPP_
@@ -23,14 +23,12 @@ namespace surf {
  ***********/
 class XBT_PRIVATE AsVivaldi;
 
-class AsVivaldi: public AsGeneric {
+class AsVivaldi: public AsRoutedGraph {
 public:
-  AsVivaldi() : AsGeneric() {};
-  void Seal() override {}; // nothing to do
+  AsVivaldi(const char *name);
   ~AsVivaldi() {};
 
   void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
-  int parsePU(NetCard *elm) override;
 };
 
 }