Class BooleanFunctionTreeProblem
java.lang.Object
com.knezevic.edaf.v3.problems.crypto.AbstractBooleanFunctionProblem<VariableLengthVector<Integer>>
com.knezevic.edaf.v3.problems.crypto.BooleanFunctionTreeProblem
- All Implemented Interfaces:
Problem<VariableLengthVector<Integer>>
public final class BooleanFunctionTreeProblem
extends AbstractBooleanFunctionProblem<VariableLengthVector<Integer>>
Boolean-function optimization where genotype is interpreted as tokenized boolean expression tree.
-
Field Summary
Fields inherited from class com.knezevic.edaf.v3.problems.crypto.AbstractBooleanFunctionProblem
criteria, criterionIds, criterionWeights, criterionWeightSum, n, truthTableSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(VariableLengthVector<Integer> genotype) Evaluates one genotype and returns its fitness.name()Problem identifier used for reporting and persistence.violations(VariableLengthVector<Integer> genotype) Returns validation/constraint violations for diagnostics.Methods inherited from class com.knezevic.edaf.v3.problems.crypto.AbstractBooleanFunctionProblem
criterionIds, evaluateScalarFitness, evaluateVectorFitness, objectiveCount, objectiveSense, objectiveValues, toTruthTableFromBalancedPermutation, toTruthTableFromBits, truthTableSize, variableCount
-
Constructor Details
-
BooleanFunctionTreeProblem
-
-
Method Details
-
name
-
evaluate
Description copied from interface:ProblemEvaluates one genotype and returns its fitness.- Specified by:
evaluatein interfaceProblem<VariableLengthVector<Integer>>- Specified by:
evaluatein classAbstractBooleanFunctionProblem<VariableLengthVector<Integer>>
-
violations
Description copied from interface:ProblemReturns validation/constraint violations for diagnostics.
-