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

Method GetFakeEnding

libs/routing/guides_connections.cpp:195–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195FakeEnding GuidesConnections::GetFakeEnding(size_t checkpointIdx) const
196{
197 if (IsAttached())
198 {
199 auto it = m_checkpointsFakeEndings.find(checkpointIdx);
200 if (it != m_checkpointsFakeEndings.end())
201 return it->second;
202 }
203 return FakeEnding();
204}
205
206GuidesGraph const & GuidesConnections::GetGuidesGraph() const
207{

Callers 3

DoMethod · 0.45
DoCalculateRouteMethod · 0.45
UNIT_TESTFunction · 0.45

Calls 3

FakeEndingClass · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.36