Class AbstractDoubleProblem
java.lang.Object
org.uma.jmetal.problem.doubleproblem.impl.AbstractDoubleProblem
- All Implemented Interfaces:
Serializable,DoubleProblem,Problem<DoubleSolution>
- Direct Known Subclasses:
FakeDoubleProblem
Abstract class to be extended by implementations of interface
}, which must
implement the
invalid @link
{@link DoubleProblem>
Problem.evaluate(S) method.- Author:
- Antonio J. Nebro (ajnebro@uma.es)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()voidintvoidnumberOfConstraints(int numberOfConstraints) intvoidnumberOfObjectives(int numberOfObjectives) intvoidvariableBounds(List<Double> lowerBounds, List<Double> upperBounds)
-
Field Details
-
bounds
-
numberOfObjectives
protected int numberOfObjectives -
numberOfConstraints
protected int numberOfConstraints -
name
-
-
Constructor Details
-
AbstractDoubleProblem
public AbstractDoubleProblem()
-
-
Method Details
-
numberOfVariables
public int numberOfVariables()- Specified by:
numberOfVariablesin interfaceProblem<DoubleSolution>
-
numberOfObjectives
public int numberOfObjectives()- Specified by:
numberOfObjectivesin interfaceProblem<DoubleSolution>
-
numberOfConstraints
public int numberOfConstraints()- Specified by:
numberOfConstraintsin interfaceProblem<DoubleSolution>
-
numberOfObjectives
public void numberOfObjectives(int numberOfObjectives) -
numberOfConstraints
public void numberOfConstraints(int numberOfConstraints) -
name
- Specified by:
namein interfaceProblem<DoubleSolution>
-
name
-
variableBounds
-
createSolution
- Specified by:
createSolutionin interfaceProblem<DoubleSolution>
-
variableBounds
- Specified by:
variableBoundsin interfaceDoubleProblem
-