Gets or sets the maximum tree depth limit.
The default value is 3.
This value is used for the maxDepth parameter to GenerateRandomTree, which is called to generate the initial random Population when a new run is started.
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when value is less than or equal to zero. |
EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | MaxTreeWidth Property | GenerateRandomTree Method