DigraphGeneratorSimple Method (Int32, Int32) |
Returns a random simple digraph containing V vertices and E edges.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Digraph Simple(
int V,
int E
)
Parameters
- V
- Type: SystemInt32
the number of vertices - E
- Type: SystemInt32
the number of vertices
Return Value
Type:
Digrapha random simple digraph on
V vertices, containing a total
of
E edges
Exceptions
See Also