Class CMAESOptimizer.PopulationSize
java.lang.Object
org.hipparchus.optim.nonlinear.scalar.noderiv.CMAESOptimizer.PopulationSize
- All Implemented Interfaces:
 OptimizationData
- Enclosing class:
 CMAESOptimizer
Population size.
 The number of offspring is the primary strategy parameter.
 In the absence of better clues, a good default could be an
 integer close to 
4 + 3 ln(n), where n is the
 number of optimized parameters.
 Increasing the population size improves global search properties
 at the expense of speed (which in general decreases at most
 linearly with increasing population size).- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
PopulationSize
Simple constructor.- Parameters:
 size- Population size.- Throws:
 MathIllegalArgumentException- ifsize <= 0.
 
 - 
 - 
Method Details
- 
getPopulationSize
public int getPopulationSize()Get population size.- Returns:
 - the population size
 
 
 -