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

Method GetRoutingOptions

libs/routing/index_graph_starter.cpp:140–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140RoutingOptions IndexGraphStarter::GetRoutingOptions(Segment const & segment) const
141{
142 if (segment.IsRealSegment())
143 return m_graph.GetRoutingOptions(segment);
144
145 Segment real;
146 if (!m_fake.FindReal(segment, real))
147 return {};
148
149 return m_graph.GetRoutingOptions(real);
150}
151
152set<NumMwmId> IndexGraphStarter::GetMwms() const
153{

Callers

nothing calls this directly

Calls 2

IsRealSegmentMethod · 0.45
FindRealMethod · 0.45

Tested by

no test coverage detected