Package org.graph4j
Class SimpleGraphAlgorithm
java.lang.Object
org.graph4j.SimpleGraphAlgorithm
- Direct Known Subclasses:
AcyclicOrientation,BFSCliqueIterator,BipartiteGraphSupport,BoundedCliqueIterator,BridgeDetectionAlgorithm,BronKerboschCliqueFinder,BronKerboschCliqueIterator,ConnectivityAlgorithm,DFSCliqueIterator,EdmondsMaximumMatching,ExactColoringBase,GreedyColoringBase,GreedyEquitableColoring,HopcroftKarpMaximumMatching,MaximalCliqueFinder,PalmerHamiltonianCycle,PruferTreeEncoder,RecursiveLargestFirstColoring,StoerWagnerMinimumCut,StoerWagnerMinimumCut1,StoerWagnerMinimumCut2,StoerWagnerMinimumCut3,TarjanBiconnectivity,VertexSeparatorBase
Abstract class for algorithms that accept only simple graphs as
input. A simple graph is undirected and does not allow multiple edges or self
loops.
- Author:
- Cristian Frăsinaru
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
graph
-
-
Constructor Details
-
SimpleGraphAlgorithm
Creates a new instance of the algorithm.- Parameters:
graph- the input simple graph- Throws:
NullPointerException- if the graph is null.IllegalArgumentException- if the graph is not simple.
-
-
Method Details
-
getGraph
- Returns:
- the input graph.
-