Class DtlzProblem
java.lang.Object
com.knezevic.edaf.v3.problems.multiobjective.DtlzProblem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(RealVector genotype) Evaluates one genotype and returns its fitness.name()Problem identifier used for reporting and persistence.intNumber of objectives; defaults to one objective.Returns whether this problem is min or max.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, violations
-
Constructor Details
-
DtlzProblem
public DtlzProblem(int functionId, int objectives, double[] scalarWeights)
-
-
Method Details
-
name
Description copied from interface:ProblemProblem identifier used for reporting and persistence.- Specified by:
namein interfaceProblem<RealVector>
-
objectiveSense
Description copied from interface:ProblemReturns whether this problem is min or max.- Specified by:
objectiveSensein interfaceProblem<RealVector>
-
objectiveCount
public int objectiveCount()Description copied from interface:ProblemNumber of objectives; defaults to one objective.- Specified by:
objectiveCountin interfaceProblem<RealVector>
-
evaluate
Description copied from interface:ProblemEvaluates one genotype and returns its fitness.- Specified by:
evaluatein interfaceProblem<RealVector>
-