-/* Business methods */
-static route_t vivaldi_get_route(AS_t rc, const char *src, const char *dst)
-{
- xbt_assert(rc && src
- && dst,
- "Invalid params for \"get_route\" function at AS \"%s\"",
- rc->name);
-
- route_t new_e_route = xbt_new0(s_route_t, 1);
- new_e_route->src_gateway = ROUTER_PEER(src);
- new_e_route->dst_gateway = ROUTER_PEER(dst);
- new_e_route->link_list = xbt_dynar_new(0, NULL);
- return new_e_route;
-}
-
-static XBT_INLINE double euclidean_dist_comp(int index, xbt_dynar_t src, xbt_dynar_t dst)
-{
- double src_coord, dst_coord;
+static XBT_INLINE double euclidean_dist_comp(int index, xbt_dynar_t src, xbt_dynar_t dst) {
+ double src_coord, dst_coord;