Package org.ddolib.examples.max2sat
Class NaiveMax2SatSolver
java.lang.Object
org.ddolib.examples.max2sat.NaiveMax2SatSolver
A naive Max2Sat solver which enumerates all the solution to find the best one. Used for tests.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NaiveMax2SatSolver
-
-
Method Details
-
best
public int best() -
bestSolution
public int[] bestSolution() -
maximize
public void maximize()
-