| 574 | } |
| 575 | |
| 576 | bool IndexGraphStarter::HasNoPassThroughAllowed(Ending const & ending) const |
| 577 | { |
| 578 | if (IsRegionsGraphMode()) |
| 579 | return false; |
| 580 | |
| 581 | return any_of(ending.m_real.cbegin(), ending.m_real.cend(), [this](Segment const & s) |
| 582 | { |
| 583 | if (IsGuidesSegment(s)) |
| 584 | return false; |
| 585 | |
| 586 | return !m_graph.IsPassThroughAllowed(s.GetMwmId(), s.GetFeatureId()); |
| 587 | }); |
| 588 | } |
| 589 | |
| 590 | Segment IndexGraphStarter::GetFakeSegmentAndIncr() |
| 591 | { |
nothing calls this directly
no test coverage detected