Class SelectMapGenotype.SelectBounds<O,P>

java.lang.Object
org.opt4j.genotype.SelectMapGenotype.SelectBounds<O,P>
All Implemented Interfaces:
Bounds<Integer>
Enclosing class:
SelectMapGenotype<K,V>

protected static class SelectMapGenotype.SelectBounds<O,P> extends Object implements Bounds<Integer>
  • Field Details

  • Constructor Details

    • SelectBounds

      public SelectBounds(List<O> list, Map<O,List<P>> map)
  • Method Details

    • getLowerBound

      public Integer getLowerBound(int index)
      Description copied from interface: Bounds
      Returns the lower bound for the i-th element.
      Specified by:
      getLowerBound in interface Bounds<O>
      Parameters:
      index - the i-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 the i-th element.
      Specified by:
      getUpperBound in interface Bounds<O>
      Parameters:
      index - the i-th element
      Returns:
      the upper bound of the i-th element