| 96 | } |
| 97 | |
| 98 | std::unique_ptr<IndexGraph> BuildIndexGraph(std::unique_ptr<TestGeometryLoader> geometryLoader, |
| 99 | std::shared_ptr<EdgeEstimator> estimator, std::vector<Joint> const & joints) |
| 100 | { |
| 101 | auto graph = std::make_unique<IndexGraph>(std::make_shared<Geometry>(std::move(geometryLoader)), estimator); |
| 102 | graph->Import(joints); |
| 103 | return graph; |
| 104 | } |
| 105 | } // namespace routing |