The the rank of vertex v in the topological order;
-1 if the digraph is not a DAG
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxParameters
- v
- Type: SystemInt32
the vertex under consideration
Return Value
Type:
Int32the position of vertex
v in a topological order
of the digraph; -1 if the digraph is not a DAG
Exceptions
See Also