Home | Trees | Indices | Help |
---|
|
Author: Eben Kennah (ekenah@t7.lanl.gov) Aric Hagberg (hagberg@lanl.gov)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
___revision__ =
|
|
Return a list of lists of nodes in each connected component of G. The list is ordered from largest connected component to smallest. For undirected graphs only. |
|
|
Return a list of graphs of each connected component of G. The list is ordered from largest connected component to smallest. For undirected graphs only. For example, to get the largest connected component: >>> H=connected_component_subgraphs(G)[0] |
Return a list of nodes of the connected component containing node n. For undirected graphs only. |
Returns list of strongly connected components in G. Uses Tarjan's algorithm with Nuutila's modifications. Nonrecursive version of algorithm. References:
|
|
|
Return a list of graphs of each strongly connected component of G. The list is ordered from largest connected component to smallest. For example, to get the largest strongly connected component: >>> H=strongly_connected_component_subgraphs(G)[0] |
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Sun Aug 17 12:04:43 2008 | http://epydoc.sourceforge.net |