Merges the component containing site p with the
the component containing site q.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void Union(
int p,
int q
)
Parameters
- p
- Type: SystemInt32
the integer representing one site - q
- Type: SystemInt32
the integer representing the other site
Exceptions
See Also