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

Method Algorithm>

src/engine/routing_algorithms/map_matching.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template <>
55inline void initializeHeap<mld::Algorithm>(SearchEngineData<mld::Algorithm> &engine_working_data,
56 const DataFacade<mld::Algorithm> &facade)
57{
58
59 const auto nodes_number = facade.GetNumberOfNodes();
60 const auto border_nodes_number = facade.GetMaxBorderNodeID() + 1;
61 engine_working_data.InitializeOrClearMapMatchingThreadLocalStorage(nodes_number,
62 border_nodes_number);
63}
64} // namespace
65
66template <typename Algorithm>

Callers

nothing calls this directly

Tested by

no test coverage detected