| 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 |