IEvolvable<TGene, T>

Interfaces · AiDotNet.Interfaces

Represents an individual that can evolve through genetic operations.

Known implementations: BinaryIndividual, ModelIndividual<T, TInput, TOutput, TGene>, PermutationIndividual, RealValuedIndividual, TreeIndividual

Methods

Method Summary
ICollection<TGene> GetGenes() Gets the genes of this individual.
IEvolvable<TGene, T> Clone() Creates a deep clone of this individual.
T GetFitness() Gets the fitness of this individual.
void SetFitness(T fitness) Sets the fitness of this individual.
void SetGenes(ICollection<TGene> genes) Sets the genes of this individual.