Class MaxSatProblem
java.lang.Object
com.knezevic.edaf.v3.problems.discrete.MaxSatProblem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintEvaluates one genotype and returns its fitness.name()Problem identifier used for reporting and persistence.Returns whether this problem is min or max.intviolations(BitString genotype) Returns validation/constraint violations for diagnostics.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.knezevic.edaf.v3.core.api.Problem
feasible, objectiveCount
-
Constructor Details
-
MaxSatProblem
public MaxSatProblem(int variableCount, int[][] clauses)
-
-
Method Details
-
name
-
objectiveSense
Description copied from interface:ProblemReturns whether this problem is min or max.- Specified by:
objectiveSensein interfaceProblem<BitString>
-
evaluate
-
violations
-
variableCount
public int variableCount() -
clauseCount
public int clauseCount()
-