Modulus Evo2 ™
Classes
Class | Description | |
---|---|---|
Chromosome |
Simulates a single autosomal chromosome from a father or mother.
Two copies of this object represent a homologous chromosome pair.
Each chromosome contains multiple genes. In humans, 23 chromosomes
contain between 379 and 4,220 genes. Different forms of the same
gene are called alleles, e.g. one allele may code for hair color
while another allele may code for eye color. Fruit flies have only
4 chromosomes.
| |
ChromosomePair |
Contains a pair of homologus chromosomes.
| |
Gene |
Simulates a discrete sequence of DNA nucleotides.
A gene is a string of nucleobases including cytosine,
guanine, adenine and thymine (C, G, A, T).
This simulated gene uses a double, which is "(max - min) / step size"
variations e.g. (1000 - -1000) / 0.025 = 80k variations.
Humans have between 50k-100k base pairs (variations) per gene.
| |
Genealogy |
Allows genomes to record family names, birth dates and death dates.
| |
GeneticAlgorithm |
The genetic algorithm that contains Genomes, Chromosomes and Genes.
This class evolves (breeds and mutates) genomes based on fitness.
| |
Genome |
A diploid genome, containing two complete haploid sets of n chromosomes.
| |
InbreedingGenomeException |
This exception is thrown whenever a genome is inbred with another closely related
genome. This is usually caused when an insufficient number of genomes are added
to the population in the beginning.
| |
InvalidDateException |
Class InvalidDateException
| |
MismatchedGenomeException |
This exception is thrown when a genome's chromosomes and/or genes
do not match with other genomes in the population.
| |
NonHomologousChromosomesException |
This exception is thrown when a chromosome in a genome does not match
with the pattern of other chromosomes in the genome.
|
Delegates
Delegate | Description | |
---|---|---|
GeneticAlgorithm Birth |
Fires when a new genome is created.
| |
GeneticAlgorithm Death |
Fires when a genome is removed from the population.
| |
GeneticAlgorithm GenomeSelectionFailed |
Fires when a genome could not be selected in the Evolve method.
This occurs when the initial population is too small or the
InbreedingDistance property is set too high in
relation to the population size.
| |
GeneticAlgorithm GenomeUpdated |
Fires when a genome has been updated, either through
creation or mutation.
|
Enumerations
Enumeration | Description | |
---|---|---|
Gender |
Gender (male or female)
|