Package org.graph4j
Class DirectedGraphAlgorithm
java.lang.Object
org.graph4j.DirectedGraphAlgorithm
- Direct Known Subclasses:
TarjanStrongConnectivity,TopologicalOrdering,TournamentSupport
Abstract class for algorithms that accept only directed graphs as input.
- Author:
- Cristian Frăsinaru
-
Field Details
-
graph
-
stronglyConnected
-
-
Constructor Details
-
DirectedGraphAlgorithm
- Parameters:
graph- the input digraph
-
-
Method Details
-
isStronglyConnected
public boolean isStronglyConnected()Returnstrueif the digraph is strongly connected.- Returns:
trueif the digraph is strongly connected.
-