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:
DoubleGenotype
,IntegerGenotype
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
getLowerBound(int index)
Returns the lower bound for thei
-th element.E
getUpperBound(int index)
Returns the upper bound for thei
-th element.
-
-
-
Method Detail
-
getLowerBound
E getLowerBound(int index)
Returns the lower bound for thei
-th element.- Parameters:
index
- thei
-th element- Returns:
- the lower bound of the
i
-th element
-
getUpperBound
E getUpperBound(int index)
Returns the upper bound for thei
-th element.- Parameters:
index
- thei
-th element- Returns:
- the upper bound of the
i
-th element
-
-