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

Function InsertEdges

src/contractor/graph_contractor.cpp:418–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 */
417
418void InsertEdges(ContractorGraph &graph,
419 const tbb::concurrent_vector<ContractorEdge> &inserted_edges)
420{
421 for (const ContractorEdge &edge : inserted_edges)
422 {
423 graph.InsertEdge(edge.source, edge.target, edge.data);
424 }
425}
426
427/**
428 * @brief Recalculate the priorities of all neighbouring nodes.

Callers 1

contractGraphFunction · 0.85

Calls 1

InsertEdgeMethod · 0.80

Tested by

no test coverage detected