Package org.graph4j.vsp
Interface VertexSeparatorAlgorithm
- All Known Implementing Classes:
BacktrackVertexSeparator,GreedyVertexSeparator,VertexSeparatorBase
public interface VertexSeparatorAlgorithm
- Author:
- Cristian Frăsinaru
-
Method Summary
Modifier and TypeMethodDescriptiongetGraph()Returns the input graph.static VertexSeparatorAlgorithmgetInstance(Graph graph) Returns the default implementation of this interface.Returns a vertex separator separator.
-
Method Details
-
getGraph
Graph getGraph()Returns the input graph.- Returns:
- the input graph.
-
getSeparator
VertexSeparator getSeparator()Returns a vertex separator separator.- Returns:
- a vertex separator set.
-
getInstance
Returns the default implementation of this interface.- Parameters:
graph- the input graph.- Returns:
- the default implementation of this interface.
-