Genome MembersModulus Evo2
OnlineModulus Evo2

The Genome type exposes the following members.
Constructors

  NameDescription
Public methodGenome 
Initializes a new instance of the Genome class.
Public methodGenome(Double)
Initializes a new instance of the Genome class.
Public methodGenome(String)
Initializes a new instance of the Genome class.
Public methodGenome(String, Gender)
Initializes a new instance of the Genome class.
Public methodGenome(String, Double)
Initializes a new instance of the Genome class.
Public methodGenome(String, Gender, Double)
Initializes a new instance of the Genome class.
Back to Top
Methods

  NameDescription
Public methodAdd
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.
Public methodStatic memberCloneChromosome
Clones a chromosome.
Public methodStatic memberCloneGenome
Clones a genome.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberFromString
Creates a new Genome object from a string created by ToString.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodToString
Returns a OnlineString that represents this instance.
(Overrides OnlineObject ToString .)
Back to Top
Properties

  NameDescription
Public propertyChromosomes
Returns a read-only copy of the genome's chromosomes.
Public propertyError
The overall error of this Genome, for use by the client-supplied fitness function and the Genome Evolve function.
Public propertyGenealogyInfo
GenealogyInfo is set internally by the GeneticAlgorithm Evolve method and provides details that allow the client to create genealogy reports.
Public propertyMutationRate
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.
Public propertyName
Name is like a surname that helps identify the genome's genealogy.
Public propertySex
Identifies if the genome is male or female. This tag is required because the Genome does not have a specific allosome gene pair.
Public propertyTag
Helps identify the genome.
Back to Top
See Also