IChromosome Members
From GeneticSharp
| IChromosome Members | GeneticSharp |
The IChromosome type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a clone.
| |
Compares the current object with another object of the same type. (Inherited from | ||
| CreateNew |
Creates a new chromosome using the same structure of this.
| |
| GenerateGene |
Generates the gene for the specified index.
| |
| GetGene |
Gets the gene in the specified index.
| |
| GetGenes |
Gets the genes.
| |
| ReplaceGene |
Replaces the gene in the specified index.
| |
| ReplaceGenes |
Replaces the genes starting in the specified index.
| |
| Resize |
Resizes the chromosome to the new length.
|
Properties
| Name | Description | |
|---|---|---|
| Fitness |
Gets or sets the fitness.
| |
| Length |
Gets the length.
|
See Also