public class ProblemStub extends AbstractProblem
evaluate(Solution)
method throws UnsupportedOperationException
.numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
ProblemStub(int numberOfObjectives)
Constructs a problem stub with the specified number of objectives.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Throws
UnsupportedOperationException . |
Solution |
newSolution()
Returns a new solution for this problem.
|
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
public ProblemStub(int numberOfObjectives)
numberOfObjectives
- the number of objectivespublic void evaluate(Solution solution)
UnsupportedOperationException
.solution
- the solution to be evaluatedjava.lang.UnsupportedOperationException
- alwayspublic Solution newSolution()
Problem
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.