Package org.uma.jmetal.problem
Interface BoundedProblem<T extends java.lang.Number & java.lang.Comparable<T>,S>
- Type Parameters:
T- Type of boundary, typicallyIntegerorDoubleS- Type ofProblemsolutions
- All Superinterfaces:
Problem<S>,java.io.Serializable
- All Known Subinterfaces:
DoubleProblem,IntegerProblem
- All Known Implementing Classes:
AbstractDoubleProblem,AbstractIntegerProblem,ComposableDoubleProblem,DummyDoubleProblem
public interface BoundedProblem<T extends java.lang.Number & java.lang.Comparable<T>,S> extends Problem<S>
A
BoundedProblem is a Problem for which solution boundaries
exist. Boundaries restrict each variable to be within an interval. This
interval may be different for each variable of the solution.- Author:
- Matthieu Vergne
-
Method Summary
Modifier and Type Method Description java.util.List<org.apache.commons.lang3.tuple.Pair<T,T>>getBounds()Deprecated.UsegetBoundsForVariables()instead.default java.util.List<Bounds<T>>getBoundsForVariables()TgetLowerBound(int index)Deprecated.TgetUpperBound(int index)Deprecated.Methods inherited from interface org.uma.jmetal.problem.Problem
createSolution, evaluate, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Method Details
-
getLowerBound
Deprecated.- Parameters:
index- index of the variable- Returns:
- lower bound of the variable
-
getUpperBound
Deprecated.- Parameters:
index- index of the variable- Returns:
- upper bound of the variable
-
getBounds
Deprecated.UsegetBoundsForVariables()instead.- Returns:
- A list with pairs
for each of the decision variables
-
getBoundsForVariables
- Returns:
- A list with
Boundsfor each of the decision variables
-