Population Based Optimizer<TSolution, TPopulation, TCandidate>.Population Size Property
Gets or sets the population size used in the algorithm.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public int PopulationSize { get; set; }
Property Value
Int32Remarks
The population size must be at least 4. The default value is max(10*Dimensions, 40).
Exceptions
Argument | The value is less than 4. |