A Genetic Programming Framework for .NET

EngineOptions.PopulationSize Property

Gets or sets the initial Population size.

public int PopulationSize {get; set;}

Property Value

The default value is 100.

Remarks

This value determines the size (number of Individuals) of the initial random Population generated by the GPEngine when a new run is started.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Thrown when value is less than or equal to zero.

See Also

EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | Population Class