|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.optimization.DirectSearchOptimizer
org.apache.commons.math.optimization.NelderMead
public class NelderMead
This class implements the Nelder-Mead direct search method.
MultiDirectional| Field Summary |
|---|
| Fields inherited from class org.apache.commons.math.optimization.DirectSearchOptimizer |
|---|
simplex |
| Constructor Summary | |
|---|---|
NelderMead()
Build a Nelder-Mead optimizer with default coefficients. |
|
NelderMead(double rho,
double khi,
double gamma,
double sigma)
Build a Nelder-Mead optimizer with specified coefficients. |
|
| Method Summary | |
|---|---|
protected void |
iterateSimplex()
Compute the next simplex of the algorithm. |
| Methods inherited from class org.apache.commons.math.optimization.DirectSearchOptimizer |
|---|
evaluateCost, evaluateSimplex, getMinima, minimize, minimize, minimize, minimize, minimize, minimize, replaceWorstPoint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NelderMead()
The default coefficients are 1.0 for rho, 2.0 for khi and 0.5 for both gamma and sigma.
public NelderMead(double rho,
double khi,
double gamma,
double sigma)
rho - reflection coefficientkhi - expansion coefficientgamma - contraction coefficientsigma - shrinkage coefficient| Method Detail |
|---|
protected void iterateSimplex()
throws CostException
iterateSimplex in class DirectSearchOptimizerCostException - if the function cannot be evaluated at
some point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||