TestIndexGraphTopology::Builder -----------------------------------------------------------------
| 336 | |
| 337 | // TestIndexGraphTopology::Builder ----------------------------------------------------------------- |
| 338 | unique_ptr<SingleVehicleWorldGraph> TestIndexGraphTopology::Builder::PrepareIndexGraph() |
| 339 | { |
| 340 | auto loader = make_unique<ZeroGeometryLoader>(); |
| 341 | auto estimator = make_shared<WeightedEdgeEstimator>(m_segmentWeights); |
| 342 | |
| 343 | BuildJoints(); |
| 344 | |
| 345 | auto worldGraph = BuildWorldGraph(std::move(loader), estimator, m_joints); |
| 346 | auto & indexGraph = worldGraph->GetIndexGraphForTests(kTestNumMwmId); |
| 347 | if (m_currentTimeGetter) |
| 348 | indexGraph.SetCurrentTimeGetter(m_currentTimeGetter); |
| 349 | indexGraph.SetRoadAccess(std::move(m_roadAccess)); |
| 350 | return worldGraph; |
| 351 | } |
| 352 | |
| 353 | void TestIndexGraphTopology::Builder::BuildJoints() |
| 354 | { |
no test coverage detected