X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0ef25bc8b50d2820e612d6f416bf2c8657b0658e..571ed94e23c9aefbd5f81f1a800eb5f1dddd8ae9:/src/surf/surf_routing_vivaldi.hpp diff --git a/src/surf/surf_routing_vivaldi.hpp b/src/surf/surf_routing_vivaldi.hpp index 9e607ba4ff..3795d69681 100644 --- a/src/surf/surf_routing_vivaldi.hpp +++ b/src/surf/surf_routing_vivaldi.hpp @@ -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; };