Home | Trees | Indices | Help |
|
---|
|
object --+ | Edge
Class representing a single edge in a graph.
The edge is referenced by its index, so if the underlying graph changes, the semantics of the edge object might change as well (if the edge indices are altered in the original graph).
The attributes of the edge can be accessed by using the edge as a hash:
>>> e["weight"] = 2 >>> print e["weight"] 2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list |
|
||
list |
|
||
Inherited from |
|
repr(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 16 21:30:46 2008 | http://epydoc.sourceforge.net |