|
ComponentIsWeaklyConnected Method
|
Test directed graph for weak connectivity.
A directed graph is weakly connected if and only if the graph is connected when the direction of the edge between nodes is ignored.
Note that if a graph is strongly connected, it is by definition weakly connected as well.
Namespace:
GraphLibrary
Assembly:
GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntaxpublic bool IsWeaklyConnected(
BaseGraph graph
)
Parameters
- graph
- Type: GraphLibrary.GraphsBaseGraph
BaseGraph graph.
Return Value
Type:
BooleanTrue if the graph is weakly connected, False otherwise.
See Also