GraphGeneratorCycle Method |
Returns a cycle graph on V vertices.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Graph Cycle(
int V
)
Parameters
- V
- Type: SystemInt32
the number of vertices in the cycle
Return Value
Type:
Grapha cycle graph on
V vertices
See Also