- Type Parameters:
V
- vertex the graph vertex type
- All Known Implementing Classes:
ChordalGraphIndependentSetFinder
public interface IndependentSetAlgorithm<V>
Algorithm to compute an
Independent Set in a graph.
- Author:
- Joris Kinable
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A (weighted) Independent Setstatic class
Default implementation of a (weighted) independent set -
Method Summary
Modifier and TypeMethodDescriptionComputes an independent set; all vertices are considered to have equal weight.
-
Method Details
-
getIndependentSet
IndependentSetAlgorithm.IndependentSet<V> getIndependentSet()Computes an independent set; all vertices are considered to have equal weight.- Returns:
- a vertex independent set
-