class documentation
class Edge:
Lightweight edge structure for a graph.
| Method | __hash__ |
Undocumented |
| Method | __init__ |
Do not call constructor directly. Use Graph's insert_edge(u,v,x). |
| Method | __str__ |
Undocumented |
| Method | element |
Return element associated with this edge. |
| Method | endpoints |
Return (u,v) tuple for vertices u and v. |
| Method | opposite |
Return the vertex that is opposite v on this edge. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | _destination |
Undocumented |
| Instance Variable | _element |
Undocumented |
| Instance Variable | _origin |
Undocumented |