Click or drag to resize
TopologicalXOrder Method
Returns a topological order if the digraph has a topologial order, and null otherwise.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IEnumerable<int> Order()

Return Value

Type: IEnumerableInt32
a 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