Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the routing logic to its own directory
[simgrid.git] / src / surf / AsFloyd.hpp
diff --git a/src/surf/AsFloyd.hpp b/src/surf/AsFloyd.hpp
deleted file mode 100644 (file)
index 2cc4cf2..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/* 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. */
-
-#ifndef SURF_ROUTING_FLOYD_HPP_
-#define SURF_ROUTING_FLOYD_HPP_
-
-#include "src/surf/AsRoutedGraph.hpp"
-
-namespace simgrid {
-namespace routing {
-
-/** Floyd routing data: slow initialization, fast lookup, lesser memory requirements, shortest path routing only */
-class XBT_PRIVATE AsFloyd: public AsRoutedGraph {
-public:
-  explicit AsFloyd(const char *name);
-  ~AsFloyd() override;
-
-  void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
-  void addRoute(sg_platf_route_cbarg_t route) override;
-  void seal() override;
-
-private:
-  /* vars to compute the Floyd algorithm. */
-  int *predecessorTable_;
-  double *costTable_;
-  sg_platf_route_cbarg_t *linkTable_;
-};
-
-}
-}
-
-#endif /* SURF_ROUTING_FLOYD_HPP_ */