Package com.jgalgo.alg.cover
Class VertexCoverBarYehuda
java.lang.Object
com.jgalgo.alg.cover.VertexCoverAbstract
com.jgalgo.alg.cover.VertexCoverBarYehuda
- All Implemented Interfaces:
VertexCover
Bar Yehuda's vertex cover algorithm.
Runs in linear time.
Based on 'A linear-time approximation algorithm for the weighted vertex cover problem' by R Bar-Yehuda.
- Author:
- Barak Ugav
-
Constructor Summary
ConstructorDescriptionCreate a new Bar Yehuda's vertex cover algorithm object. -
Method Summary
Methods inherited from class com.jgalgo.alg.cover.VertexCoverAbstract
computeMinimumVertexCover
-
Constructor Details
-
VertexCoverBarYehuda
public VertexCoverBarYehuda()Create a new Bar Yehuda's vertex cover algorithm object.Please prefer using
VertexCover.newInstance()
to get a default implementation for theVertexCover
interface.
-