Class GeneticParameters
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Parameters for configuring a genetic algorithm.
public class GeneticParameters
- Inheritance
-
GeneticParameters
- Inherited Members
Properties
CrossoverOperator
Gets or sets the name of the crossover operator to use.
public string CrossoverOperator { get; set; }
Property Value
CrossoverRate
Gets or sets the probability of crossover occurring.
public double CrossoverRate { get; set; }
Property Value
ElitismRate
Gets or sets the elitism rate (percentage of top individuals to preserve unchanged).
public double ElitismRate { get; set; }
Property Value
FitnessThreshold
Gets or sets the fitness threshold for termination.
public double FitnessThreshold { get; set; }
Property Value
InitializationMethod
Gets or sets the initialization method to use for creating the initial population.
public InitializationMethod InitializationMethod { get; set; }
Property Value
MaxGenerations
Gets or sets the maximum number of generations to evolve.
public int MaxGenerations { get; set; }
Property Value
MaxGenerationsWithoutImprovement
Gets or sets the maximum number of generations without improvement before termination.
public int MaxGenerationsWithoutImprovement { get; set; }
Property Value
MaxTime
Gets or sets the maximum time allowed for evolution.
public TimeSpan MaxTime { get; set; }
Property Value
MutationOperator
Gets or sets the name of the mutation operator to use.
public string MutationOperator { get; set; }
Property Value
MutationRate
Gets or sets the probability of mutation occurring.
public double MutationRate { get; set; }
Property Value
PopulationSize
Gets or sets the size of the population.
public int PopulationSize { get; set; }
Property Value
SelectionMethod
Gets or sets the selection method to use.
public SelectionMethod SelectionMethod { get; set; }
Property Value
TournamentSize
Gets or sets the tournament size for tournament selection.
public int TournamentSize { get; set; }
Property Value
UseParallelEvaluation
Gets or sets whether to use parallel evaluation of fitness.
public bool UseParallelEvaluation { get; set; }