Modulus Evo2 ™The Genome type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Genome |
Initializes a new instance of the Genome class.
| |
Genome(Double) |
Initializes a new instance of the Genome class.
| |
Genome(String) |
Initializes a new instance of the Genome class.
| |
Genome(String, Gender) |
Initializes a new instance of the Genome class.
| |
Genome(String, Double) |
Initializes a new instance of the Genome class.
| |
Genome(String, Gender, Double) |
Initializes a new instance of the Genome class.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds the specified chromosome. It is important that for every chromosome added,
that one chromosome.Sex attribute be marked Male and the other Female and that
both matching chromosomes have an equal number of identical genes.
| |
CloneChromosome |
Clones a chromosome.
| |
CloneGenome |
Clones a genome.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromString |
Creates a new Genome object from a string created by ToString.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides Object ToString .) |
Properties
Name | Description | |
---|---|---|
Chromosomes |
Returns a read-only copy of the genome's chromosomes.
| |
Error |
The overall error of this Genome, for use
by the client-supplied fitness function and
the Genome Evolve function.
| |
GenealogyInfo |
GenealogyInfo is set internally by the GeneticAlgorithm Evolve method
and provides details that allow the client to create genealogy reports.
| |
MutationRate |
Mutation rate from 0 to 1, default 0.05. May be changed during evolution to simulate annealing. Higher mutation rates result in slower gradient decent.
| |
Name |
Name is like a surname that helps identify the genome's genealogy.
| |
Sex |
Identifies if the genome is male or female.
This tag is required because the Genome does
not have a specific allosome gene pair.
| |
Tag |
Helps identify the genome.
|
See Also