|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.optimization.direct.CMAESOptimizer.PopulationSize
public static class CMAESOptimizer.PopulationSize
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).
Field Summary | |
---|---|
private int |
lambda
Population size. |
Constructor Summary | |
---|---|
CMAESOptimizer.PopulationSize(int size)
|
Method Summary | |
---|---|
int |
getPopulationSize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int lambda
Constructor Detail |
---|
public CMAESOptimizer.PopulationSize(int size) throws NotStrictlyPositiveException
size
- Population size.
NotStrictlyPositiveException
- if size <= 0
.Method Detail |
---|
public int getPopulationSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |