Package fuzz :: Module graph :: Class GraphEdge
[hide private]
[frames] | no frames]

Class GraphEdge

source code

object --+    
         |    
     tuple --+
             |
            GraphEdge

Graph edge class.

Instance Methods [hide private]
GraphEdge
reverse(self)
Returns this edge with tail and head reversed.
source code

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __repr__, __rmul__, __sizeof__, count, index

Inherited from object: __delattr__, __format__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, arg)
Instantiation method.
source code
Properties [hide private]
object tail
Return the tail of this graph edge.
object head
Return the head of this graph edge.

Inherited from object: __class__

Method Details [hide private]

__new__(cls, arg)
Static Method

source code 

Instantiation method. Verifies the validity of the head and tail tuple argument before returning the graph edge object.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

reverse(self)

source code 

Returns this edge with tail and head reversed.

Returns: GraphEdge
The reversed graph edge.

Property Details [hide private]

tail

Return the tail of this graph edge.

Get Method:
unreachable.tail(self) - Return the tail of this graph edge.
Set Method:
unreachable.tail(self, value) - Set the tail of this graph edge.
Type:
object

head

Return the head of this graph edge.

Get Method:
unreachable.head(self) - Return the head of this graph edge.
Set Method:
unreachable.head(self, value) - Set the head of this graph edge.
Type:
object