org.apache.commons.math3.optimization.direct
public static class CMAESOptimizer.PopulationSize extends java.lang.Object implements OptimizationData
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).Modifier and Type | Field and Description |
---|---|
private int |
lambda
Population size.
|
Constructor and Description |
---|
CMAESOptimizer.PopulationSize(int size) |
Modifier and Type | Method and Description |
---|---|
int |
getPopulationSize() |
public CMAESOptimizer.PopulationSize(int size) throws NotStrictlyPositiveException
size
- Population size.NotStrictlyPositiveException
- if size <= 0
.Copyright (c) 2003-2013 Apache Software Foundation