A Genetic Programming Framework for .NET

EngineOptions.GenerationLimit Property

Gets or sets the Generation limit.

public int GenerationLimit {get; set;}

Property Value

If no limit is desired, set this value to MaxValue.

The default value is 100.

Remarks

This value is used to limit the number of Generations that may be tested by the GPEngine during a run.

Exceptions

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

See Also

EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | Generation Term