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

Method GetEdgeBasedEdges

src/extractor/edge_based_graph_factory.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void EdgeBasedGraphFactory::GetEdgeBasedEdges(
55 util::DeallocatingVector<EdgeBasedEdge> &output_edge_list)
56{
57 BOOST_ASSERT_MSG(0 == output_edge_list.size(), "Vector is not empty");
58 using std::swap; // Koenig swap
59 swap(m_edge_based_edge_list, output_edge_list);
60}
61
62void EdgeBasedGraphFactory::GetEdgeBasedNodeSegments(std::vector<EdgeBasedNodeSegment> &nodes)
63{

Callers 1

Calls 2

swapFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected