Click or drag to resize
BipartiteColor Method
Returns the side of the bipartite that vertex v is on.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool Color(
	int v
)

Parameters

v
Type: SystemInt32
the vertex

Return Value

Type: Boolean
the side of the bipartition that vertex v is on; two vertices
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= v < V
InvalidOperationExceptionif this method is called when the graph
See Also