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

Method HasNoPassThroughAllowed

libs/routing/index_graph_starter.cpp:576–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576bool 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
590Segment IndexGraphStarter::GetFakeSegmentAndIncr()
591{

Callers

nothing calls this directly

Calls 5

cbeginMethod · 0.45
cendMethod · 0.45
IsPassThroughAllowedMethod · 0.45
GetMwmIdMethod · 0.45
GetFeatureIdMethod · 0.45

Tested by

no test coverage detected