Class NguyenSymbolicRegressionProblem
java.lang.Object
com.knezevic.edaf.v3.problems.tree.NguyenSymbolicRegressionProblem
- All Implemented Interfaces:
Problem<VariableLengthVector<Integer>>
public final class NguyenSymbolicRegressionProblem
extends Object
implements Problem<VariableLengthVector<Integer>>
Nguyen symbolic regression benchmark using tokenized expression trees.
Genotype is interpreted as prefix tokens. This keeps tree-style search runnable with the existing variable-length representation pipeline.
-
Constructor Summary
ConstructorsConstructorDescriptionNguyenSymbolicRegressionProblem(int variant, int sampleCount, double minX, double maxX) -
Method Summary
Modifier and TypeMethodDescriptionevaluate(VariableLengthVector<Integer> genotype) Evaluates one genotype and returns its fitness.name()Problem identifier used for reporting and persistence.Returns whether this problem is min or max.violations(VariableLengthVector<Integer> 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
-
NguyenSymbolicRegressionProblem
public NguyenSymbolicRegressionProblem(int variant, int sampleCount, double minX, double maxX)
-
-
Method Details
-
name
-
objectiveSense
Description copied from interface:ProblemReturns whether this problem is min or max.- Specified by:
objectiveSensein interfaceProblem<VariableLengthVector<Integer>>
-
evaluate
Description copied from interface:ProblemEvaluates one genotype and returns its fitness.- Specified by:
evaluatein interfaceProblem<VariableLengthVector<Integer>>
-
violations
Description copied from interface:ProblemReturns validation/constraint violations for diagnostics.- Specified by:
violationsin interfaceProblem<VariableLengthVector<Integer>>
-