* Check if an edge to a destination is present. * @param dest Wanted edge destination. * @return True if an edge is present. */
| 136 | * @return True if an edge is present. |
| 137 | */ |
| 138 | bool HasEdgeTo(NodeID dest) const |
| 139 | { |
| 140 | return std::binary_search(this->edges.begin(), this->edges.end(), dest); |
| 141 | } |
| 142 | |
| 143 | BaseEdge &operator[](NodeID to) |
| 144 | { |
no test coverage detected