#include "src/surf/AsRoutedGraph.hpp"
namespace simgrid {
-namespace surf {
+namespace routing {
/** Floyd routing data: slow initialization, fast lookup, lesser memory requirements, shortest path routing only */
class XBT_PRIVATE AsFloyd: public AsRoutedGraph {
public:
- AsFloyd(const char *name);
- ~AsFloyd();
+ 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;
+ void seal() override;
private:
/* vars to compute the Floyd algorithm. */