MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / MapMatching

Method MapMatching

include/engine/routing_algorithms.hpp:179–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177
178template <routing_algorithms::RoutingAlgorithm Algorithm>
179inline routing_algorithms::SubMatchingList RoutingAlgorithms<Algorithm>::MapMatching(
180 const routing_algorithms::CandidateLists &candidates_list,
181 const std::vector<util::Coordinate> &trace_coordinates,
182 const std::vector<unsigned> &trace_timestamps,
183 const std::vector<std::optional<double>> &trace_gps_precision,
184 const bool allow_splitting) const
185{
186 return routing_algorithms::mapMatching(heaps,
187 *facade,
188 candidates_list,
189 trace_coordinates,
190 trace_timestamps,
191 trace_gps_precision,
192 allow_splitting);
193}
194
195template <routing_algorithms::RoutingAlgorithm Algorithm>
196std::pair<std::vector<EdgeDuration>, std::vector<EdgeDistance>>

Callers 1

HandleRequestMethod · 0.80

Calls 1

mapMatchingFunction · 0.85

Tested by

no test coverage detected