The static GenotypeGroup object refers to the "selected group" as described in GenotypeLibrary
| type and name | description | comments |
namestring |
Group name | |
indexinteger |
group index | |
countinteger |
Number of unique genotypes | |
totalpopinteger |
Total number including copies | |
fitnessmultiline string |
Fitness formula | (intended for advanced users) |
fitfuninteger, 0 .. 1 (false/true) |
Scale fitness? | Enable fitness scaling |
fitmfloating point, 0 .. 10 |
Shift coefficient | Lower threshold: how many std. dev's below average?
(avg - n * stddev) - used for fitness shifting |
fitmafloating point, 1 .. 10 |
Scaling coefficient | The best genotype is as many times
better than the average one |
getGenotypefunction |
get Genotype object | |
findGenofunction |
find Genotype index | find Genotype matching the supplied Geno object.
returns genotype index or -1 if not found |
addGenofunction |
make Genotype from Geno | create new Genotype from the supplied Geno object.
returns the created Genotype. |