Interface IntegerSolution
- All Superinterfaces:
java.io.Serializable,Solution<java.lang.Integer>
- All Known Implementing Classes:
DefaultIntegerSolution
public interface IntegerSolution extends Solution<java.lang.Integer>
Interface representing a integer solutions
- Author:
- Antonio J. Nebro
-
Method Summary
Modifier and Type Method Description default Bounds<java.lang.Integer>getBounds(int index)It is often the case that we use both bounds together.java.lang.IntegergetLowerBound(int index)Deprecated.UsegetBounds(int).getLowerBound()instead.java.lang.IntegergetUpperBound(int index)Deprecated.UsegetBounds(int).getUpperBound()instead.Methods inherited from interface org.uma.jmetal.solution.Solution
attributes, constraints, copy, objectives, variables
-
Method Details
-
getLowerBound
@Deprecated java.lang.Integer getLowerBound(int index)Deprecated.UsegetBounds(int).getLowerBound()instead. -
getUpperBound
@Deprecated java.lang.Integer getUpperBound(int index)Deprecated.UsegetBounds(int).getUpperBound()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.
-