Click or drag to resize
GraphGeneratorCompleteBipartite Method
Returns a complete bipartite graph on V1 and V2 vertices.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Graph CompleteBipartite(
	int V1,
	int V2
)

Parameters

V1
Type: SystemInt32
the number of vertices in one partition
V2
Type: SystemInt32
the number of vertices in the other partition

Return Value

Type: Graph
a complete bipartite graph on V1 and V2 vertices
Exceptions
ExceptionCondition
ArgumentExceptionif probability is not between 0 and 1
See Also