Gets or sets the Generation limit.
If no limit is desired, set this value to MaxValue.
The default value is 100.
This value is used to limit the number of Generations that may be tested by the GPEngine during a run.
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when value is less than or equal to zero. |
EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | Generation Term