public class C1_DTLZ1 extends DTLZ1
numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
C1_DTLZ1(int numberOfObjectives)
Constructs a C1-DTLZ1 test problem with the specified number of
objectives.
|
C1_DTLZ1(int numberOfVariables,
int numberOfObjectives)
Constructs a C1-DTLZ1 test problem with the specified number of variables
and objectives.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Evaluates the solution, updating the solution's objectives in place.
|
int |
getNumberOfConstraints()
Returns the number of constraints defined by this problem.
|
Solution |
newSolution()
Returns a new solution for this problem.
|
close, getName, getNumberOfObjectives, getNumberOfVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getName, getNumberOfObjectives, getNumberOfVariables, isType
public C1_DTLZ1(int numberOfVariables, int numberOfObjectives)
numberOfVariables
- the number of variables for this problemnumberOfObjectives
- the number of objectives for this problempublic C1_DTLZ1(int numberOfObjectives)
new DTLZ1(numberOfObjectives+4, numberOfObjectives)
.numberOfObjectives
- the number of objectives for this problempublic int getNumberOfConstraints()
Problem
getNumberOfConstraints
in interface Problem
getNumberOfConstraints
in class AbstractProblem
public void evaluate(Solution solution)
Problem
public Solution newSolution()
Problem
newSolution
in interface Problem
newSolution
in class DTLZ
Copyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.