Home | Trees | Indices | Help |
---|
|
Author: Aric Hagberg (hagberg@lanl.gov) Dan Schult(dschult@colgate.edu)
|
|||
|
|||
|
|||
|
|||
|
|
|||
___revision__ =
|
|
Return True if the graph G is a directed acyclic graph (DAG). Otherwise return False. |
Return a list of nodes of the digraph G in topological sort order. A topological sort is a nonunique permutation of the nodes such that an edge from u to v implies that u appears before v in the topological sort order. If G is not a directed acyclic graph no topological sort exists and the Python keyword None is returned. This algorithm is based on a description and proof at http://www2.toki.or.id/book/AlgDesignManual/book/book2/node70.htm See also is_directed_acyclic_graph() |
Return a list of nodes of the digraph G in topological sort order. This is a recursive version of topological sort. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Sun Aug 17 12:04:43 2008 | http://epydoc.sourceforge.net |