Class AlmostDisjunctMatrixProblem
java.lang.Object
com.knezevic.edaf.v3.problems.discrete.disjunct.AlmostDisjunctMatrixProblem
-
Constructor Summary
ConstructorsConstructorDescriptionAlmostDisjunctMatrixProblem(int m, int n, int t, double epsilon, DisjunctEvaluationConfig evaluationConfig) -
Method Summary
Modifier and TypeMethodDescriptiondoubleepsilon()Exposes configured epsilon threshold for reporting/diagnostics.Evaluates one genotype and returns its fitness.protected final DisjunctEvaluationConfigprotected final intm()protected final DisjunctMatrixmatrixFrom(BitString genotype) protected final intn()final Stringname()Problem identifier used for reporting and persistence.final ObjectiveSenseReturns whether this problem is min or max.protected final longsamplingSeed(BitString genotype) protected final intt()protected final longviolations(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
-
AlmostDisjunctMatrixProblem
public AlmostDisjunctMatrixProblem(int m, int n, int t, double epsilon, DisjunctEvaluationConfig evaluationConfig)
-
-
Method Details
-
evaluate
-
epsilon
public double epsilon()Exposes configured epsilon threshold for reporting/diagnostics. -
name
-
objectiveSense
Description copied from interface:ProblemReturns whether this problem is min or max.- Specified by:
objectiveSensein interfaceProblem<BitString>
-
violations
-
matrixFrom
-
m
protected final int m() -
n
protected final int n() -
t
protected final int t() -
evaluationConfig
-
totalSubsets
protected final long totalSubsets() -
samplingSeed
-