Returns a topological order if the digraph has a topologial order,
and null otherwise.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<int> Order()
Return Value
Type:
IEnumerableInt32a topological order of the vertices (as an interable) if the
digraph has a topological order (or equivalently, if the digraph is a DAG),
and
null otherwise
See Also