Class MVCConstructive


public class MVCConstructive extends CMSAConstructive<MSTSolution, MSTInstance, Integer>
Probabilistic constructive method for the Minimum Vertex Cover (MVC) problem, used as the "Construct" step of the CMSA demo in this project.

Repeatedly picks a random still-uncovered edge, and adds one of its endpoints to the cover, biased towards the endpoint with the highest degree (as in the classic greedy vertex cover heuristic), but not always: this randomization is what allows CMSA to sample different, varied vertex subsets across iterations to build the sub-instance.