GEPChromosome Class |
Namespace: Accord.Genetic
The GEPChromosome type exposes the following members.
Name | Description | |
---|---|---|
GEPChromosome(GEPChromosome) |
Initializes a new instance of the GEPChromosome class.
| |
GEPChromosome(IGPGene, Int32) |
Initializes a new instance of the GEPChromosome class.
|
Name | Description | |
---|---|---|
Fitness |
Chromosome's fitness value.
(Inherited from ChromosomeBase.) |
Name | Description | |
---|---|---|
Clone |
Clone the chromosome.
(Overrides ChromosomeBaseClone.) | |
CompareTo |
Compare two chromosomes.
(Inherited from ChromosomeBase.) | |
CreateNew |
Create new random chromosome with same parameters (factory method).
(Overrides ChromosomeBaseCreateNew.) | |
Crossover |
Crossover operator.
(Overrides ChromosomeBaseCrossover(IChromosome).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate |
Evaluate chromosome with specified fitness function.
(Inherited from ChromosomeBase.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Generate |
Generate random chromosome value.
(Overrides ChromosomeBaseGenerate.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTree |
Get tree representation of the chromosome.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Mutate |
Mutation operator.
(Overrides ChromosomeBaseMutate.) | |
MutateGene |
Usual gene mutation.
| |
RecombinationOnePoint |
One-point recombination (crossover).
| |
RecombinationTwoPoint |
Two point recombination (crossover).
| |
Recombine |
Swap parts of two chromosomes.
| |
ToString |
Get string representation of the chromosome by providing its expression in
reverse polish notation (postfix notation).
(Overrides ObjectToString.) | |
ToStringNative |
Get string representation of the chromosome.
| |
TransposeIS |
Transposition of IS elements (insertion sequence).
| |
TransposeRoot |
Root transposition.
|
Name | Description | |
---|---|---|
fitness |
Chromosome's fitness value.
(Inherited from ChromosomeBase.) | |
genes |
Array of chromosome's genes.
| |
headLength |
Length of GEP chromosome's head.
| |
length |
GEP chromosome's length.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |
This type of chromosome represents combination of ideas taken from Genetic Algorithms (GA), where chromosomes are linear structures of fixed length, and Genetic Programming (GP), where chromosomes are expression trees. The GEP chromosome is also a fixed length linear structure, but with some additional features which make it possible to generate valid expression tree from any GEP chromosome.
The theory of Gene Expression Programming is well described in the next paper: Ferreira, C., 2001. Gene Expression Programming: A New Adaptive Algorithm for Solving Problems. Complex Systems, Vol. 13, issue 2: 87-129. A copy of the paper may be obtained on the gene expression programming web site.