A Genetic Programming Framework for .NET

EngineOptions.Seed Property

Gets or sets a value used to seed a Random instance.

public int Seed {get; set;}

Property Value

If this value is set to MaxValue, Random's default time-dependent constructor will be used.

The default value is MaxValue.

Remarks

This value is used to seed a new Random instance when a new run is started.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Thrown when value is equal to MinValue, as this value cannot be used to seed Random instances.

See Also

EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | Random Class