Skip to content

EngineProgress Class

Greg Sommerville edited this page Aug 8, 2018 · 2 revisions

EngineParameters

A class containing information about the current progress for the genetic engine. An object of this type is passed into an optional user-supplied per-generation callback.

Fields

Name Data Type Description
GenerationNumber int A number that indicates the current generation number, starting with 0
BestFitnessThisGen float The best fitness score found in the current generation
AvgFitnessThisGen float The average fitness score for the current generation
BestFitnessSoFar float The all-time best fitness score found so far
TimeForGeneration TimeSpan How long the current generation took to process

Clone this wiki locally