Interface DoubleSolution
- All Superinterfaces:
java.io.Serializable,Solution<java.lang.Double>
- All Known Implementing Classes:
DefaultDoubleSolution
public interface DoubleSolution extends Solution<java.lang.Double>
Interface representing a double solutions
- Author:
- Antonio J. Nebro
-
Method Summary
Modifier and Type Method Description default Bounds<java.lang.Double>getBounds(int index)It is often the case that we use both bounds together.java.lang.DoublegetLowerBound(int index)Deprecated.UsegetBounds(int).getLowerBound()instead.java.lang.DoublegetUpperBound(int index)Deprecated.UsegetBounds(int).getLowerBound()instead.Methods inherited from interface org.uma.jmetal.solution.Solution
attributes, constraints, copy, objectives, variables
-
Method Details
-
getLowerBound
@Deprecated java.lang.Double getLowerBound(int index)Deprecated.UsegetBounds(int).getLowerBound()instead. -
getUpperBound
@Deprecated java.lang.Double getUpperBound(int index)Deprecated.UsegetBounds(int).getLowerBound()instead. -
getBounds
It is often the case that we use both bounds together. Searching twice the same index may be counter productive in this case. This methods allows to offer this optimization, although its default implementation just delegates to the separate methods.
-