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

Method GetIngoingEdgeList

libs/routing/cross_mwm_graph.cpp:150–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void CrossMwmGraph::GetIngoingEdgeList(Segment const & exit, EdgeListT & edges)
151{
152 ASSERT(IsTransition(exit, true /* isEnter */),
153 ("The segment is not a transition segment. IsTransition(", exit, ", true) returns false."));
154
155 // Is not supported yet.
156 /*
157 if (TransitGraph::IsTransitSegment(enter))
158 {
159 if (TransitCrossMwmSectionExists(enter.GetMwmId()))
160 m_crossMwmTransitGraph.GetIngoingEdgeList(enter, edges);
161 return;
162 }
163 */
164
165 if (CrossMwmSectionExists(exit.GetMwmId()))
166 m_crossMwmIndexGraph.GetIngoingEdgeList(exit, edges);
167}
168
169RouteWeight CrossMwmGraph::GetWeightSure(Segment const & from, Segment const & to)
170{

Callers 1

GetEdgesListMethod · 0.45

Calls 2

ASSERTFunction · 0.85
GetMwmIdMethod · 0.45

Tested by

no test coverage detected