Deprecated
As of 3.1 (to be removed in 4.0).
| Modifier and Type | Field and Description |
|---|---|
| private static final double | DEFAULT_GAMMA
Default value for |
| private static final double | DEFAULT_KHI
Default value for |
| private static final double | DEFAULT_RHO
Default value for |
| private static final double | DEFAULT_SIGMA
Default value for |
| private final double | gamma
Contraction coefficient. |
| private final double | khi
Expansion coefficient. |
| private final double | rho
Reflection coefficient. |
| private final double | sigma
Shrinkage coefficient. |
| Access | Constructor and Description |
|---|---|
| public | NelderMeadSimplex(final int
Dimension of the simplex. n)Build a Nelder-Mead simplex with default coefficients. |
| public | NelderMeadSimplex(final int
Dimension of the simplex. n, double Length of the sides of the default (hypercube)
simplex. See sideLength)AbstractSimplex#AbstractSimplex(int, double).Build a Nelder-Mead simplex with default coefficients. |
| public | NelderMeadSimplex(final int
Dimension of the simplex. See
n, double AbstractSimplex#AbstractSimplex(int, double).Length of the sides of the default (hypercube)
simplex. See sideLength, final double AbstractSimplex#AbstractSimplex(int, double).Reflection coefficient. rho, final double Expansion coefficient. khi, final double Contraction coefficient. gamma, final double Shrinkage coefficient. sigma)Build a Nelder-Mead simplex with specified coefficients. |
| public | NelderMeadSimplex(final int
Dimension of the simplex. See
n, final double AbstractSimplex#AbstractSimplex(int).Reflection coefficient. rho, final double Expansion coefficient. khi, final double Contraction coefficient. gamma, final double Shrinkage coefficient. sigma)Build a Nelder-Mead simplex with specified coefficients. |
| public | NelderMeadSimplex(final double[]
Steps along the canonical axes representing box edges.
They may be negative but not zero. See steps)Build a Nelder-Mead simplex with default coefficients. |
| public | NelderMeadSimplex(final double[]
Steps along the canonical axes representing box edges.
They may be negative but not zero. See
steps, final double AbstractSimplex#AbstractSimplex(double[]).Reflection coefficient. rho, final double Expansion coefficient. khi, final double Contraction coefficient. gamma, final double Shrinkage coefficient. sigma)Build a Nelder-Mead simplex with specified coefficients. |
| public | NelderMeadSimplex(final double[][]
Reference simplex. See
referenceSimplex)AbstractSimplex#AbstractSimplex(double[][]).Build a Nelder-Mead simplex with default coefficients. |
| public | NelderMeadSimplex(final double[][]
Reference simplex. See
referenceSimplex, final double AbstractSimplex#AbstractSimplex(double[][]).Reflection coefficient. rho, final double Expansion coefficient. khi, final double Contraction coefficient. gamma, final double Shrinkage coefficient. sigma)Build a Nelder-Mead simplex with specified coefficients. |
| Modifier and Type | Method and Description |
|---|---|
| public void | iterate(final MultivariateFunction
Evaluation function. evaluationFunction, final Comparator<PointValuePair> Comparator to use to sort simplex vertices from best
to worst. comparator)Implements abstract org. Compute the next simplex of the algorithm. |
| DEFAULT_GAMMA | back to summary |
|---|---|
| private static final double DEFAULT_GAMMA Default value for | |
| DEFAULT_KHI | back to summary |
|---|---|
| private static final double DEFAULT_KHI Default value for | |
| DEFAULT_RHO | back to summary |
|---|---|
| private static final double DEFAULT_RHO Default value for | |
| DEFAULT_SIGMA | back to summary |
|---|---|
| private static final double DEFAULT_SIGMA Default value for | |
| gamma | back to summary |
|---|---|
| private final double gamma Contraction coefficient. | |
| khi | back to summary |
|---|---|
| private final double khi Expansion coefficient. | |
| rho | back to summary |
|---|---|
| private final double rho Reflection coefficient. | |
| sigma | back to summary |
|---|---|
| private final double sigma Shrinkage coefficient. | |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final int n) Build a Nelder-Mead simplex with default coefficients. The default coefficients are 1.0 for rho, 2.0 for khi and 0.5 for both gamma and sigma.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final int n, double sideLength) Build a Nelder-Mead simplex with default coefficients. The default coefficients are 1.0 for rho, 2.0 for khi and 0.5 for both gamma and sigma.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final int n, double sideLength, final double rho, final double khi, final double gamma, final double sigma) Build a Nelder-Mead simplex with specified coefficients.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final int n, final double rho, final double khi, final double gamma, final double sigma) Build a Nelder-Mead simplex with specified coefficients.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final double[] steps) Build a Nelder-Mead simplex with default coefficients. The default coefficients are 1.0 for rho, 2.0 for khi and 0.5 for both gamma and sigma.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final double[] steps, final double rho, final double khi, final double gamma, final double sigma) Build a Nelder-Mead simplex with specified coefficients.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final double[][] referenceSimplex) Build a Nelder-Mead simplex with default coefficients. The default coefficients are 1.0 for rho, 2.0 for khi and 0.5 for both gamma and sigma.
| |
| NelderMeadSimplex | back to summary |
|---|---|
| public NelderMeadSimplex(final double[][] referenceSimplex, final double rho, final double khi, final double gamma, final double sigma) Build a Nelder-Mead simplex with specified coefficients.
| |
| iterate | back to summary |
|---|---|
| public void iterate(final MultivariateFunction evaluationFunction, final Comparator<PointValuePair> comparator) Implements abstract org. Doc from org. Compute the next simplex of the algorithm.
| |