| 120 | } |
| 121 | |
| 122 | void BuildGraph(IndexGraph & graph) const |
| 123 | { |
| 124 | vector<Joint> joints; |
| 125 | for (auto const & it : m_posToJoint) |
| 126 | { |
| 127 | // Need only connected points (2 or more roads) |
| 128 | if (it.second.GetSize() >= 2) |
| 129 | joints.emplace_back(it.second); |
| 130 | } |
| 131 | |
| 132 | graph.Import(joints); |
| 133 | } |
| 134 | |
| 135 | ankerl::unordered_dense::map<uint32_t, VehicleMask> const & GetMasks() const { return m_masks; } |
| 136 |
no test coverage detected