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

Method GetOutgoingEdgeList

libs/routing/cross_mwm_graph.cpp:131–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void CrossMwmGraph::GetOutgoingEdgeList(Segment const & enter, EdgeListT & edges)
132{
133 ASSERT(IsTransition(enter, false /* isEnter */),
134 ("The segment is not a transition segment. IsTransition(", enter, ", false) returns false."));
135
136 // Is not supported yet.
137 /*
138 if (TransitGraph::IsTransitSegment(enter))
139 {
140 if (TransitCrossMwmSectionExists(enter.GetMwmId()))
141 m_crossMwmTransitGraph.GetOutgoingEdgeList(enter, edges);
142 return;
143 }
144 */
145
146 if (CrossMwmSectionExists(enter.GetMwmId()))
147 m_crossMwmIndexGraph.GetOutgoingEdgeList(enter, edges);
148}
149
150void CrossMwmGraph::GetIngoingEdgeList(Segment const & exit, EdgeListT & edges)
151{

Callers 2

GetEdgesListMethod · 0.45
TestOutgoingEdgesFunction · 0.45

Calls 2

ASSERTFunction · 0.85
GetMwmIdMethod · 0.45

Tested by 1

TestOutgoingEdgesFunction · 0.36