EvolutionStats<T, TInput, TOutput>

Models & Types · AiDotNet.Statistics

Represents statistics about the evolutionary process.

Constructors

Constructor Summary
EvolutionStats(IFitnessCalculator<T, TInput, TOutput> fitnessCalculator)

Properties

Property Summary
List<T> FitnessHistory { get; set; } Gets or sets the fitness history across generations.
T AverageFitness { get; set; } Gets or sets the average fitness of the current population.
T BestFitness { get; set; } Gets or sets the best fitness found so far.
T Diversity { get; set; } Gets or sets a measure of the population’s genetic diversity.
T FitnessStandardDeviation { get; set; } Gets or sets the standard deviation of fitness in the population.
T WorstFitness { get; set; } Gets or sets the worst fitness in the current population.
TimeSpan TimeElapsed { get; set; } Gets or sets the time elapsed since the evolution started.
bool ImprovedInLastGeneration { get; set; } Gets or sets whether a fitness improvement occurred in the last generation.
int Generation { get; set; } Gets or sets the current generation number.
int GenerationsSinceImprovement { get; set; } Gets or sets the number of generations since the last improvement.
object BestIndividual { get; set; } Gets or sets a reference to the best individual found so far.