-/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-2023. 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_VIVALDI_HPP_
-#define SURF_ROUTING_VIVALDI_HPP_
+#ifndef SIMGRID_ROUTING_VIVALDI_HPP_
+#define SIMGRID_ROUTING_VIVALDI_HPP_
#include <simgrid/kernel/routing/StarZone.hpp>
#include <xbt/Extendable.hpp>
public:
using StarZone::StarZone;
void set_peer_link(NetPoint* netpoint, double bw_in, double bw_out);
- void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override;
+ void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override;
};
namespace vivaldi {
} // namespace kernel
} // namespace simgrid
-#endif /* SURF_ROUTING_VIVALDI_HPP_ */
+#endif /* SIMGRID_ROUTING_VIVALDI_HPP_ */