- of
Create a new Genotype from a given array of chromosomes.
- getChromosome
Return the chromosome at the given index. It is guaranteed, that the returned
chromosome is not null
- getGene
Return the first Gene of the first Chromosome of this Genotype. This is a
shortcut for
final Genoty
- length
Getting the number of chromosomes of this genotype.
- toSeq
- <init>
Create a new Genotype from a given sequence of Chromosomes.
- instances
- get
Return the gene from the given chromosome- and gene index. This is a shortcut
for gt.getChromosome(c
- hashCode
- isValid
Test if this genotype is valid. A genotype is valid if all its Chromosomes are
valid.
- newInstance
Return a new, random genotype by creating new, random chromosomes (calling the
Chromosome#newInstanc
- stream
Returns a sequential Stream of chromosomes with this genotype as its source.