Package org.opt4j.genotype
Class SelectMapGenotype.SelectBounds<O,P>
- java.lang.Object
-
- org.opt4j.genotype.SelectMapGenotype.SelectBounds<O,P>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getLowerBound(int index)
Returns the lower bound for thei
-th element.Integer
getUpperBound(int index)
Returns the upper bound for thei
-th element.
-
-
-
Method Detail
-
getLowerBound
public Integer getLowerBound(int index)
Description copied from interface:Bounds
Returns the lower bound for thei
-th element.- Specified by:
getLowerBound
in interfaceBounds<O>
- Parameters:
index
- thei
-th element- Returns:
- the lower bound of the
i
-th element
-
getUpperBound
public Integer getUpperBound(int index)
Description copied from interface:Bounds
Returns the upper bound for thei
-th element.- Specified by:
getUpperBound
in interfaceBounds<O>
- Parameters:
index
- thei
-th element- Returns:
- the upper bound of the
i
-th element
-
-