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

Function readCompressedNodeBasedGraph

include/extractor/files.hpp:568–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566
567template <typename EdgeListT>
568void readCompressedNodeBasedGraph(const std::filesystem::path &path, EdgeListT &edge_list)
569{
570 const auto fingerprint = storage::tar::FileReader::VerifyFingerprint;
571 storage::tar::FileReader reader{path, fingerprint};
572
573 storage::serialization::read(reader, "/extractor/cnbg", edge_list);
574}
575} // namespace osrm::extractor::files
576
577#endif

Callers 1

getGraphBisectionFunction · 0.85

Calls 1

readFunction · 0.70

Tested by

no test coverage detected