|
|
__init__(self,
data=None)
Represents a node with one predecessor and multiple successors. |
source code
|
|
|
|
set_id(self,
id)
Sets the id of a node, if not set yet. |
source code
|
|
|
|
|
|
|
get_succ(self)
Returns a list of the node's successors. |
source code
|
|
|
|
get_prev(self)
Returns the id of the node's predecessor. |
source code
|
|
|
|
add_succ(self,
id)
Adds a node id to the node's successors. |
source code
|
|
|
|
remove_succ(self,
id)
Removes a node id from the node's successors. |
source code
|
|
|
|
set_succ(self,
new_succ)
Sets the node's successors. |
source code
|
|
|
|
set_prev(self,
id)
Sets the node's predecessor. |
source code
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|