DigraphGeneratorTournament Method |
Returns a random tournament digraph on V vertices. A tournament digraph
is a DAG in which for every two vertices, there is one directed edge.
A tournament is an oriented complete graph.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Digraph Tournament(
int V
)
Parameters
- V
- Type: SystemInt32
the number of vertices
Return Value
Type:
Digrapha random tournament digraph on
V vertices
See Also