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:
DoubleChromosome
,IntegerChromosome
,LongChromosome
public interface BoundedChromosome<A extends Comparable<? super A>,G extends BoundedGene<A,G>> extends Chromosome<G>
Chromosome interface forBoundedGene
s.- Since:
- 1.6
- Version:
- 5.2
- Author:
- Franz Wilhelmstötter
- See Also:
BoundedGene
- Implementation Requirements:
- Implementations of the
BoundedChromosome
interface must be immutable and guarantee an efficient random access (O(1)
) to the genes. AChromosome
must contains at least oneGene
.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default A
max()
Return the maximum value of thisBoundedChromosome
.default A
min()
Return the minimum value of thisBoundedChromosome
.-
Methods inherited from interface io.jenetics.util.BaseSeq
get, isEmpty, iterator, length, listIterator, nonEmpty, spliterator, stream
-
Methods inherited from interface io.jenetics.Chromosome
as, gene, isValid, newInstance
-
Methods inherited from interface io.jenetics.util.Factory
instances, newInstance
-
-