MCPcopy Create free account
hub / github.com/comaps/comaps / FindPathBidirectional

Method FindPathBidirectional

libs/routing/base/astar_algorithm.hpp:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188 template <class P>
189 Result FindPathBidirectional(P & params, RoutingResult<Vertex, Weight> & result) const
190 {
191 return FindPathBidirectionalEx(params, [&result](RoutingResult<Vertex, Weight> && res)
192 {
193 // Fetch first (best) route and stop.
194 result = std::move(res);
195 return true;
196 });
197 }
198
199 // Adjust route to the previous one.
200 // Expects |params.m_checkLengthCallback| to check wave propagation limit.

Callers 9

FindPathMethod · 0.80
CalcMethod · 0.80
CalculateRouteMethod · 0.80
TestRouteGeomMethod · 0.80
FindPathMethod · 0.80
CalculateRouteFunction · 0.80
TestAStarFunction · 0.80
UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestRouteGeomMethod · 0.64
TestAStarFunction · 0.64
UNIT_TESTFunction · 0.64