Click or drag to resize
UnionFindConnected Method
Determines whether the specified elements are in the same component.

Namespace: Network.Sim.Miscellaneous
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool Connected(
	int p,
	int q
)

Parameters

p
Type: SystemInt32
The first element.
q
Type: SystemInt32
The second element.

Return Value

Type: Boolean
true if both elements are in the same component; Otherwise false.
See Also