equal
deleted
inserted
replaced
100 /// |
100 /// |
101 /// The ID of the \ref INVALID edge is -1. |
101 /// The ID of the \ref INVALID edge is -1. |
102 ///\return The ID of the edge \c e. |
102 ///\return The ID of the edge \c e. |
103 static int id(Edge e) { return e.id; } |
103 static int id(Edge e) { return e.id; } |
104 |
104 |
|
105 static Node fromId(int id, Node) { return Node(id);} |
|
106 |
|
107 static Edge fromId(int id, Edge) { return Edge(id);} |
|
108 |
105 /// Finds an edge between two nodes. |
109 /// Finds an edge between two nodes. |
106 |
110 |
107 /// Finds an edge from node \c u to node \c v. |
111 /// Finds an edge from node \c u to node \c v. |
108 /// |
112 /// |
109 /// If \c prev is \ref INVALID (this is the default value), then |
113 /// If \c prev is \ref INVALID (this is the default value), then |