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

Public GIT Repository
As::bypassRoutes_ does not need to be a reference
[simgrid.git] / src / surf / surf_routing_vivaldi.hpp
index 9e607ba4ff9fde2d4e0f834564cc4de7a2f3bc07..3795d69681e1fc3c23e57485064b3b21ad1138c6 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,12 +23,12 @@ namespace surf {
  ***********/
 class XBT_PRIVATE AsVivaldi;
 
-class AsVivaldi: public AsGeneric {
+class AsVivaldi: public AsRoutedGraph {
 public:
   AsVivaldi(const char *name);
-  void Seal() override {}; // nothing to do
   ~AsVivaldi() {};
 
+  xbt_dynar_t getOneLinkRoutes() override {return NULL;};
   void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
 };