Methods
|
|
|
|
__init__
|
__init__ ( self )
|
|
adj_edges
|
adj_edges ( self, v )
|
|
adj_nodes
|
adj_nodes ( self, v )
|
|
all_edges
|
all_edges ( self )
|
|
all_nodes
|
all_nodes ( self )
|
|
del_all_edges
|
del_all_edges ( self )
|
|
del_all_nodes
|
del_all_nodes ( self )
|
|
del_edge
|
del_edge ( self, e )
|
|
del_edges
|
del_edges ( self, edge_list )
|
|
del_node
|
del_node ( self, v )
|
|
del_nodes
|
del_nodes ( self, node_list )
|
|
first_adj_edge
|
first_adj_edge ( self, v )
|
|
first_edge
|
first_edge ( self )
|
|
first_node
|
first_node ( self )
|
|
last_adj_edge
|
last_adj_edge ( self, v )
|
|
last_edge
|
last_edge ( self )
|
|
last_node
|
last_node ( self )
|
|
new_edge
|
new_edge (
self,
v,
w,
)
|
|
new_node
|
new_node ( self, v )
b) Update operations
|
|
number_of_edges
|
number_of_edges ( self )
|
|
number_of_nodes
|
number_of_nodes ( self )
|
|
sort_edges
|
sort_edges ( self, cost )
|
|
source
|
source ( self, e )
a) Access operations
|
|
target
|
target ( self, e )
|