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, iterator, length, newInstance, stream, toSeq
isValid
forEach, spliterator
instances, newInstance
© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)