fitfun
integer, 0 .. 1 (false/true) default=0 |
Scale fitness? Enable fitness scaling |
fitm
float, 0 .. 10 default=2 |
Shift coefficient Lower threshold: how many standard deviations below average? |
fitma
float, 1 .. 10 default=2 |
Scaling coefficient The best genotype is as many times |
fitness
multiline string |
Fitness formula (intended for advanced users) |
index
integer |
group index |
name
string |
Group name |
size
integer |
Number of items in the group In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.popsiz field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype. |
totalpop
integer |
Number of genotype instances Takes into account the Genotype.popsiz field (which may give the total number of instances depending on the experiment definition) |
addGeno
returns Genotype |
make Genotype from Geno function addGeno(Geno)create new Genotype from the supplied Geno object. |
delete
doesn't return a value |
function delete(integer genotype_index)delete genotype |
findGeno
returns integer |
find Genotype index function findGeno(Geno)find Genotype matching the supplied Geno object. |
findUID
returns integer |
find Genotype by UID function findUID(string uid) |
get
returns Genotype |
get Genotype object function get(integer index) |
| Global context |