14 #include <ad/map/route/ConnectingRouteList.hpp>
15 #include <ad/rss/world/ObjectId.hpp>
51 ad::rss::world::ObjectId
const &object_b,
52 ad::map::route::ConnectingRouteList
const &connecting_route_list,
53 ad::physics::Distance
const &max_connecting_route_length);
55 bool getConnectingRoutes(ad::rss::world::ObjectId
const &object_a,
56 ad::rss::world::ObjectId
const &object_b,
57 ad::physics::Distance
const &max_connecting_route_length,
58 ad::map::route::ConnectingRouteList &connecting_route_list);
61 bool findEntry(ad::rss::world::ObjectId
const &object_a,
62 ad::rss::world::ObjectId
const &object_b,
63 ad::physics::Distance
const &max_connecting_route_length,
64 ad::map::route::ConnectingRouteList &connecting_route_list);
68 struct ConnectingRouteStorage
70 ConnectingRouteStorage(ad::map::route::ConnectingRouteList
const &i_connecting_route_list,
71 ad::physics::Distance
const &i_max_connecting_route_length)
72 : connecting_route_list(i_connecting_route_list)
73 , max_connecting_route_length(i_max_connecting_route_length)
76 ad::map::route::ConnectingRouteList connecting_route_list;
77 ad::physics::Distance max_connecting_route_length;
79 std::map<ad::rss::world::ObjectId, std::map<ad::rss::world::ObjectId, ConnectingRouteStorage>> m_cache;
namespace ad
Definition: RouteAccelerations.hpp:33