Table of Contents

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

string

CrossoverRate

Gets or sets the probability of crossover occurring.

public double CrossoverRate { get; set; }

Property Value

double

ElitismRate

Gets or sets the elitism rate (percentage of top individuals to preserve unchanged).

public double ElitismRate { get; set; }

Property Value

double

FitnessThreshold

Gets or sets the fitness threshold for termination.

public double FitnessThreshold { get; set; }

Property Value

double

InitializationMethod

Gets or sets the initialization method to use for creating the initial population.

public InitializationMethod InitializationMethod { get; set; }

Property Value

InitializationMethod

MaxGenerations

Gets or sets the maximum number of generations to evolve.

public int MaxGenerations { get; set; }

Property Value

int

MaxGenerationsWithoutImprovement

Gets or sets the maximum number of generations without improvement before termination.

public int MaxGenerationsWithoutImprovement { get; set; }

Property Value

int

MaxTime

Gets or sets the maximum time allowed for evolution.

public TimeSpan MaxTime { get; set; }

Property Value

TimeSpan

MutationOperator

Gets or sets the name of the mutation operator to use.

public string MutationOperator { get; set; }

Property Value

string

MutationRate

Gets or sets the probability of mutation occurring.

public double MutationRate { get; set; }

Property Value

double

PopulationSize

Gets or sets the size of the population.

public int PopulationSize { get; set; }

Property Value

int

SelectionMethod

Gets or sets the selection method to use.

public SelectionMethod SelectionMethod { get; set; }

Property Value

SelectionMethod

TournamentSize

Gets or sets the tournament size for tournament selection.

public int TournamentSize { get; set; }

Property Value

int

UseParallelEvaluation

Gets or sets whether to use parallel evaluation of fitness.

public bool UseParallelEvaluation { get; set; }

Property Value

bool