| QuickFindUFConnected Method | 
             Returns true if the the two sites are in the same component.
 
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntaxpublic bool Connected(
	int p,
	int q
)
Parameters
- p
- Type: SystemInt32
 the integer representing one site
- q
- Type: SystemInt32
 the integer representing the other site
Return Value
Type: 
Booleantrue if the two sites 
p and 
q are in the same component;
 Exceptions
Exceptions See Also
See Also