Gets or sets the maximum tree width limit.
The default value is 3.
This value is used for the maxWidth 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 | MaxTreeDepth Property | GenerateRandomTree Method