| 173 | } |
| 174 | |
| 175 | void TestIndexGraphTopology::SetEdgeAccess(Vertex from, Vertex to, RoadAccess::Type type) |
| 176 | { |
| 177 | for (auto & r : m_edgeRequests) |
| 178 | { |
| 179 | if (r.m_from == from && r.m_to == to) |
| 180 | { |
| 181 | r.m_accessType = type; |
| 182 | return; |
| 183 | } |
| 184 | } |
| 185 | CHECK(false, ("Cannot set access for edge that is not in the graph", from, to)); |
| 186 | } |
| 187 | |
| 188 | void TestIndexGraphTopology::SetEdgeAccessConditional(Vertex from, Vertex to, RoadAccess::Type type, |
| 189 | string const & condition) |