Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
UF Class
UF Constructor
UF Properties
UF Methods
UF Constructor
Initializes an empty union-Find data structure with
N
sites
0
through
N-1
. Each site is initially in its own component.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
UF
(
int
N
)
Parameters
N
Type:
System
Int32
N the number of sites
Exceptions
Exception
Condition
ArgumentException
if
N < 0
See Also
Reference
UF Class
Algs4Net Namespace