Class IntegerMapGenotype<K>

Type Parameters:
K - the type of keys
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Integer>, Collection<Integer>, List<Integer>, RandomAccess, Genotype, ListGenotype<Integer>, MapGenotype<K,Integer>

public class IntegerMapGenotype<K> extends IntegerGenotype implements MapGenotype<K,Integer>
The IntegerMapGenotype is a IntegerGenotype with the MapGenotype functionality.
See Also:
  • Field Details

    • list

      protected final List<K> list
  • Constructor Details

    • IntegerMapGenotype

      public IntegerMapGenotype(List<K> list, Bounds<Integer> bounds)
      Constructs a IntegerMapGenotype.
      Parameters:
      list - the list of keys
      bounds - the lower and upper bounds
    • IntegerMapGenotype

      public IntegerMapGenotype(List<K> list, int lowerBound, int upperBound)
      Constructs a IntegerMapGenotype with fixed bounds.
      Parameters:
      list - the list of keys
      lowerBound - the lower bound
      upperBound - the upper bound
  • Method Details