Class DummyDoubleProblem
java.lang.Object
org.uma.jmetal.problem.AbstractGenericProblem<DoubleSolution>
org.uma.jmetal.problem.doubleproblem.impl.AbstractDoubleProblem
org.uma.jmetal.problem.doubleproblem.impl.DummyDoubleProblem
- All Implemented Interfaces:
java.io.Serializable,BoundedProblem<java.lang.Double,DoubleSolution>,DoubleProblem,Problem<DoubleSolution>
public class DummyDoubleProblem extends AbstractDoubleProblem
Implementation of
DoubleProblem that does nothing. Intended to be used in unit tests.- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DummyDoubleProblem()DummyDoubleProblem(int numberOfVariables, int numberOfObjectives, int numberOfConstraints) -
Method Summary
Modifier and Type Method Description DoubleSolutionevaluate(DoubleSolution solution)This method receives a solution, evaluates it, and returns the evaluated solution.Methods inherited from class org.uma.jmetal.problem.doubleproblem.impl.AbstractDoubleProblem
createSolution, getBounds, getBoundsForVariables, getLowerBound, getUpperBound, getVariableBounds, setVariableBoundsMethods inherited from class org.uma.jmetal.problem.AbstractGenericProblem
getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.uma.jmetal.problem.Problem
getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
DummyDoubleProblem
public DummyDoubleProblem(int numberOfVariables, int numberOfObjectives, int numberOfConstraints) -
DummyDoubleProblem
public DummyDoubleProblem()
-
-
Method Details