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

Method IsTransition

libs/routing/cross_mwm_graph.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool CrossMwmGraph::IsTransition(Segment const & s, bool isOutgoing)
37{
38 if (TransitGraph::IsTransitSegment(s))
39 return TransitCrossMwmSectionExists(s.GetMwmId()) ? m_crossMwmTransitGraph.IsTransition(s, isOutgoing) : false;
40
41 return CrossMwmSectionExists(s.GetMwmId()) ? m_crossMwmIndexGraph.IsTransition(s, isOutgoing) : false;
42}
43
44bool CrossMwmGraph::GetAllLoadedNeighbors(NumMwmId numMwmId, vector<NumMwmId> & neighbors)
45{

Callers 9

GetEdgesListMethod · 0.45
GetTwinsInnerMethod · 0.45
GetEdgeListMethod · 0.45
TestConnectorConsistencyFunction · 0.45
TestOneWayEnterFunction · 0.45
TestOneWayExitFunction · 0.45
TestTwoWayEnterFunction · 0.45
TestTwoWayExitFunction · 0.45
TestSerializationFunction · 0.45

Calls 1

GetMwmIdMethod · 0.45

Tested by 6

TestConnectorConsistencyFunction · 0.36
TestOneWayEnterFunction · 0.36
TestOneWayExitFunction · 0.36
TestTwoWayEnterFunction · 0.36
TestTwoWayExitFunction · 0.36
TestSerializationFunction · 0.36