A Genetic Programming Framework for .NET

EngineOptions.MaxTreeWidth Property

Gets or sets the maximum tree width limit.

public int MaxTreeWidth {get; set;}

Property Value

The default value is 3.

Remarks

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.

Exceptions

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

See Also

EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | MaxTreeDepth Property | GenerateRandomTree Method