diff -r 342bebadd075 -r 88c486951f10 thirdparty/python-graph/docs/graph.digraph-class.html
--- a/thirdparty/python-graph/docs/graph.digraph-class.html Sun Nov 30 16:39:18 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2103 +0,0 @@
-
-
-
-
- Digraph class.
- Digraphs are built of nodes and directed edges.
-
-
-
-
-
-
-
- |
-
-
- __init__(self)
- Initialize a digraph. |
-
-
-
- |
-
-
-
- |
-
-
-
- iterator
- |
-
-
- __getitem__(self,
- node)
- Return a iterator passing through all neighbors of the given node. |
-
-
-
- |
-
-
-
- |
-
-
-
- iterator
- |
-
-
- __iter__(self)
- Return a iterator passing through all nodes in the digraph. |
-
-
-
- |
-
-
-
- |
-
-
-
- number
- |
-
-
- __len__(self)
- Return the order of the digraph when requested by len(). |
-
-
-
- |
-
-
-
- |
-
-
-
- string
- |
-
-
- __str__(self)
- Return a string representing the digraph when requested by str() (or
- print). |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- add_edge(self,
- u,
- v,
- wt=1,
- label='
' ,
- attrs=[ ] )
- Add an directed edge (u,v) to the graph connecting nodes u to v. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- add_edge_attribute(self,
- u,
- v,
- attr)
- Add attribute to the given edge. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- add_graph(self,
- graph)
- Add other graph to the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- add_node(self,
- node,
- attrs=[ ] )
- Add given node to the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- add_node_attribute(self,
- node,
- attr)
- Add attribute to the given node. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- add_nodes(self,
- nodelist)
- Add given nodes to the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- complete(self)
- Make the graph a complete graph. |
-
-
-
- |
-
-
-
- |
-
-
-
- number
- |
-
-
- degree(self,
- node)
- Return the degree of the given node. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- del_edge(self,
- u,
- v)
- Remove an directed edge (u, v) from the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- del_node(self,
- node)
- Remove a node from the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- edges(self)
- Return all edges in the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- |
-
-
-
- string
- |
-
-
- get_edge_label(self,
- u,
- v)
- Get the label of an edge. |
-
-
-
- |
-
-
-
- |
-
-
-
- number
- |
-
-
- get_edge_weight(self,
- u,
- v)
- Get the weight of an edge. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- |
-
-
-
- boolean
- |
-
-
- has_edge(self,
- u,
- v)
- Return whether an edge between nodes u and v exists. |
-
-
-
- |
-
-
-
- |
-
-
-
- boolean
- |
-
-
- has_node(self,
- node)
- Return whether the requested node exists. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- incidents(self,
- node)
- Return all nodes that are incident to the given node. |
-
-
-
- |
-
-
-
- |
-
-
-
- graph
- |
-
-
- inverse(self)
- Return the inverse of the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- neighbors(self,
- node)
- Return all nodes that are directly accessible from given node. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- nodes(self)
- Return node list. |
-
-
-
- |
-
-
-
- |
-
-
-
- number
- |
-
-
- order(self,
- node)
- Return the order of the given node. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- set_edge_label(self,
- u,
- v,
- label)
- Set the label of an edge. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- set_edge_weight(self,
- u,
- v,
- wt)
- Set the weight of an edge. |
-
-
-
- |
-
-
-
- |
-
-
-
- iterator
- |
-
-
- traversal(self,
- node,
- order=' pre ' )
- Graph traversal iterator. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- generate(self,
- num_nodes,
- num_edges,
- weight_range=( 1, 1) )
- Add nodes and random edges to the graph. |
-
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
-
- read(self,
- string,
- fmt=' xml ' )
- Read a graph from a string. |
-
-
-
- |
-
-
-
- |
-
-
-
- string
- |
-
-
- write(self,
- fmt=' xml ' )
- Write the graph to a string. |
-
-
-
- |
-
-
-
- |
-
-
-
- dictionary
- |
-
-
- accessibility(self)
- Accessibility matrix (transitive closure). |
-
-
-
- |
-
-
-
- |
-
-
-
- dictionary
- |
-
-
- |
-
-
-
- list
- |
-
-
- cut_edges(self)
- Return the cut-edges of the given graph. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- cut_nodes(self)
- Return the cut-nodes of the given graph. |
-
-
-
- |
-
-
-
- |
-
-
-
- tuple
- |
-
-
- |
-
-
-
- list
- |
-
-
- |
-
-
-
- list
- |
-
-
- mutual_accessibility(self)
- Mutual-accessibility matrix (strongly connected components). |
-
-
-
- |
-
-
-
- |
-
-
-
- tuple
- |
-
-
- shortest_path(self,
- source)
- Return the shortest path distance between source node and all other
- nodes using Dijkstra's algorithm. |
-
-
-
- |
-
-
-
- |
-
-
-
- list
- |
-
-
- |
-
-
-
- Inherited from object :
- __delattr__ ,
- __getattribute__ ,
- __hash__ ,
- __new__ ,
- __reduce__ ,
- __reduce_ex__ ,
- __repr__ ,
- __setattr__
-
- |
-
-
-
-