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

Method Clear

libs/routing/base/astar_algorithm.hpp:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 ~Context() { m_graph.DropAStarParents(); }
130
131 void Clear()
132 {
133 m_distanceMap.clear();
134 m_parents.clear();
135 }
136
137 bool HasDistance(Vertex const & vertex) const { return m_distanceMap.find(vertex) != m_distanceMap.cend(); }
138

Callers 3

PropagateWaveMethod · 0.45
FindPathMethod · 0.45
AdjustRouteMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected