A Genetic Programming Framework for .NET

GenerationHistory Constructor (Int32, String[])

Creates a new instance of the GenerationHistory class with the specified Generation number and IIndividual names.

public GenerationHistory(
   int generation,
   string[] individuals
);

Parameters

generation
The generation number of this GenerationHistory.
individuals
Names of the IIndividuals from this Generation.

Remarks

MaximizeFitness will be given a default value of true.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Thrown when generation is less than zero.
ArgumentNullException Thrown when individuals is null.
ArgumentException Thrown when individuals is empty.

See Also

GenerationHistory Class | GeneticProgrammingEngine.Internal Namespace | GenerationHistory Constructor Overload List | Population Class | Generation Term