MCPcopy Create free account
hub / github.com/comaps/comaps / BuildIndexGraph

Function BuildIndexGraph

libs/routing/routing_tests/index_graph_tools.cpp:430–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430unique_ptr<IndexGraph> BuildIndexGraph(unique_ptr<TestGeometryLoader> geometryLoader,
431 shared_ptr<EdgeEstimator> estimator, vector<Joint> const & joints)
432{
433 auto graph = make_unique<IndexGraph>(make_shared<Geometry>(std::move(geometryLoader)), estimator);
434 graph->Import(joints);
435 return graph;
436}
437
438unique_ptr<SingleVehicleWorldGraph> BuildWorldGraph(unique_ptr<ZeroGeometryLoader> geometryLoader,
439 shared_ptr<EdgeEstimator> estimator, vector<Joint> const & joints)

Callers

nothing calls this directly

Calls 1

ImportMethod · 0.45

Tested by

no test coverage detected