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

Method FindPath

libs/routing/index_router.hpp:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245
246 template <typename Vertex, typename Edge, typename Weight, typename AStarParams>
247 RouterResultCode FindPath(AStarParams & params, std::set<NumMwmId> const & mwmIds,
248 RoutingResult<Vertex, Weight> & routingResult)
249 {
250 AStarAlgorithm<Vertex, Edge, Weight> algorithm;
251 return ConvertTransitResult(
252 mwmIds, ConvertResult<Vertex, Edge, Weight>(algorithm.FindPathBidirectional(params, routingResult)));
253 }
254
255 void SetupAlgorithmMode(IndexGraphStarter & starter, bool guidesActive = false) const;
256 uint32_t ConnectTracksOnGuidesToOsm(std::vector<m2::PointD> const & checkpoints, WorldGraph & graph);

Callers

nothing calls this directly

Calls 1

FindPathBidirectionalMethod · 0.80

Tested by

no test coverage detected