TarjanSCCStronglyConnected Method |
Are vertices v and w in the same strong component?
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool StronglyConnected(
int v,
int w
)
Parameters
- v
- Type: SystemInt32
one vertex - w
- Type: SystemInt32
the other vertex
Return Value
Type:
Booleantrue if vertices
v and
w are in the same
strong component, and
false otherwise
See Also