Module io.jenetics.base
Package io.jenetics
Interface BoundedChromosome<A extends Comparable<? super A>,G extends BoundedGene<A,G>>
- All Superinterfaces:
BaseSeq<G>,Chromosome<G>,Factory<Chromosome<G>>,Iterable<G>,RandomAccess,Verifiable
- All Known Subinterfaces:
NumericChromosome<N,G>
- All Known Implementing Classes:
BigIntegerChromosome,DoubleChromosome,IntegerChromosome,LongChromosome
public interface BoundedChromosome<A extends Comparable<? super A>,G extends BoundedGene<A,G>>
extends Chromosome<G>
Chromosome interface for
BoundedGenes.- Since:
- 1.6
- Version:
- 5.2
- See Also:
- Implementation Requirements:
- Implementations of the
BoundedChromosomeinterface must be immutable and guarantee efficient random access (O(1)) to the genes. AChromosomemust contains at least oneGene.
-
Method Summary
Methods inherited from interface io.jenetics.util.BaseSeq
forEach, get, isEmpty, iterator, length, listIterator, nonEmpty, spliterator, streamMethods inherited from interface io.jenetics.Chromosome
as, gene, isValid, newInstanceMethods inherited from interface io.jenetics.util.Factory
instances, newInstance
-
Method Details
-
min
Return the minimum value of thisBoundedChromosome.- Returns:
- the minimum value of this
BoundedChromosome.
-
max
Return the maximum value of thisBoundedChromosome.- Returns:
- the maximum value of this
BoundedChromosome.
-