org.moeaframework.analysis.sensitivity
Class ProblemStub
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.analysis.sensitivity.ProblemStub
All Implemented Interfaces: Problem
public class ProblemStub extends AbstractProblem
A problem stub with a defined number of objectives, but no decision
variables or constraints. In addition, the evaluate(Solution)
method throws UnsupportedOperationException .
Constructor Summary
ProblemStub (int numberOfObjectives)
Constructs a problem stub with the specified number of objectives.
ProblemStub
public ProblemStub (int numberOfObjectives)
Constructs a problem stub with the specified number of objectives.
Parameters: numberOfObjectives - the number of objectives
evaluate
public void evaluate (Solution solution)
Throws UnsupportedOperationException.
Parameters: solution - the solution to be evaluated
Throws:
UnsupportedOperationException - always
newSolution
public Solution newSolution ()
Description copied from interface: Problem
Returns a new solution for this problem. Implementations must initialize
the variables so that the valid range of values is defined, but may leave
the actual value at a default or undefined state.
Returns: a new solution for this problem
Copyright 2009-2015 MOEA Framework. All rights reserved. Licensed under the GNU Lesser General Public License . Return to the MOEA Framework homepage . Hosted by