Package org.opt4j.genotype
Interface Bounds<E extends Number>
- Type Parameters:
E
- the type of number
- All Known Implementing Classes:
DoubleBounds
,IntegerBounds
,SelectMapGenotype.SelectBounds
public interface Bounds<E extends Number>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetLowerBound
(int index) Returns the lower bound for thei
-th element.getUpperBound
(int index) Returns the upper bound for thei
-th element.
-
Method Details
-
getLowerBound
Returns the lower bound for thei
-th element.- Parameters:
index
- thei
-th element- Returns:
- the lower bound of the
i
-th element
-
getUpperBound
Returns the upper bound for thei
-th element.- Parameters:
index
- thei
-th element- Returns:
- the upper bound of the
i
-th element
-