- 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
- geneCount
Return the number of genes this genotype consists of. This is the sum of the
number of genes of the
- <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
- 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.