GraphGeneratorBipartite Method (Int32, Int32, Int32) |
Returns a random simple bipartite graph on V1 and V2 vertices
with E edges.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Graph Bipartite(
int V1,
int V2,
int E
)
Parameters
- V1
- Type: SystemInt32
the number of vertices in one partition - V2
- Type: SystemInt32
the number of vertices in the other partition - E
- Type: SystemInt32
the number of edges
Return Value
Type:
Grapha random simple bipartite graph on
V1 and
V2 vertices,
containing a total of
E edges
Exceptions
See Also