public interface BoundedChromosome<A extends Comparable<? super A>,G extends BoundedGene<A,G>> extends Chromosome<G>
BoundedGene
s.BoundedGene
BoundedChromosome
interface must be
immutable and guarantee an efficient random access (O(1)
) to
the genes. A Chromosome
must contains at least one Gene
.Modifier and Type | Method and Description |
---|---|
default A |
getMax()
Return the maximum value of this
BoundedChromosome . |
default A |
getMin()
Return the minimum value of this
BoundedChromosome . |
as, getGene, getGene, length, newInstance, stream, toSeq
isValid
forEach, iterator, spliterator
instances, newInstance
© 2007-2018 Franz Wilhelmstötter (2018-10-28 17:23)