Click or drag to resize
QuickFindUFFind Method
Returns the component identifier for the component containing site p.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int Find(
	int p
)

Parameters

p
Type: SystemInt32
the integer representing one site

Return Value

Type: Int32
the component identifier for the component containing site p
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= p < N
See Also