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

Method SetParent

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

Source from the content-addressed store, hash-verified

148 void SetDistance(Vertex const & vertex, Weight const & distance) { m_distanceMap[vertex] = distance; }
149
150 void SetParent(Vertex const & parent, Vertex const & child) { m_parents[parent] = child; }
151
152 bool HasParent(Vertex const & child) const { return m_parents.count(child) != 0; }
153

Callers 1

PropagateWaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected