Returns the Edge associated with an id, or nullptr if no edge with that id (the node with that id was removed and the id has not yet been re-used). *this owns the returned instance. REQUIRES: 0 <= id < num_node_ids().
| 705 | // not yet been re-used). *this owns the returned instance. |
| 706 | // REQUIRES: 0 <= id < num_node_ids(). |
| 707 | const Edge* FindEdgeId(int id) const { return edges_[id]; } |
| 708 | |
| 709 | // Access to the set of all edges. Example usage: |
| 710 | // for (const Edge* e : graph.edges()) { ... } |
no outgoing calls
no test coverage detected