|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.optimization.direct.AbstractSimplex org.apache.commons.math3.optimization.direct.MultiDirectionalSimplex
@Deprecated public class MultiDirectionalSimplex
This class implements the multi-directional direct search method.
Constructor Summary | |
---|---|
MultiDirectionalSimplex(double[] steps)
Deprecated. Build a multi-directional simplex with default coefficients. |
|
MultiDirectionalSimplex(double[][] referenceSimplex)
Deprecated. Build a multi-directional simplex with default coefficients. |
|
MultiDirectionalSimplex(double[][] referenceSimplex,
double khi,
double gamma)
Deprecated. Build a multi-directional simplex with specified coefficients. |
|
MultiDirectionalSimplex(double[] steps,
double khi,
double gamma)
Deprecated. Build a multi-directional simplex with specified coefficients. |
|
MultiDirectionalSimplex(int n)
Deprecated. Build a multi-directional simplex with default coefficients. |
|
MultiDirectionalSimplex(int n,
double sideLength)
Deprecated. Build a multi-directional simplex with default coefficients. |
|
MultiDirectionalSimplex(int n,
double khi,
double gamma)
Deprecated. Build a multi-directional simplex with specified coefficients. |
|
MultiDirectionalSimplex(int n,
double sideLength,
double khi,
double gamma)
Deprecated. Build a multi-directional simplex with specified coefficients. |
Method Summary | |
---|---|
void |
iterate(MultivariateFunction evaluationFunction,
Comparator<PointValuePair> comparator)
Deprecated. Compute the next simplex of the algorithm. |
Methods inherited from class org.apache.commons.math3.optimization.direct.AbstractSimplex |
---|
build, evaluate, getDimension, getPoint, getPoints, getSize, replaceWorstPoint, setPoint, setPoints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiDirectionalSimplex(int n)
n
- Dimension of the simplex.public MultiDirectionalSimplex(int n, double sideLength)
n
- Dimension of the simplex.sideLength
- Length of the sides of the default (hypercube)
simplex. See AbstractSimplex.AbstractSimplex(int,double)
.public MultiDirectionalSimplex(int n, double khi, double gamma)
n
- Dimension of the simplex. See
AbstractSimplex.AbstractSimplex(int,double)
.khi
- Expansion coefficient.gamma
- Contraction coefficient.public MultiDirectionalSimplex(int n, double sideLength, double khi, double gamma)
n
- Dimension of the simplex. See
AbstractSimplex.AbstractSimplex(int,double)
.sideLength
- Length of the sides of the default (hypercube)
simplex. See AbstractSimplex.AbstractSimplex(int,double)
.khi
- Expansion coefficient.gamma
- Contraction coefficient.public MultiDirectionalSimplex(double[] steps)
steps
- Steps along the canonical axes representing box edges.
They may be negative but not zero. Seepublic MultiDirectionalSimplex(double[] steps, double khi, double gamma)
steps
- Steps along the canonical axes representing box edges.
They may be negative but not zero. See
AbstractSimplex.AbstractSimplex(double[])
.khi
- Expansion coefficient.gamma
- Contraction coefficient.public MultiDirectionalSimplex(double[][] referenceSimplex)
referenceSimplex
- Reference simplex. See
AbstractSimplex.AbstractSimplex(double[][])
.public MultiDirectionalSimplex(double[][] referenceSimplex, double khi, double gamma)
referenceSimplex
- Reference simplex. See
AbstractSimplex.AbstractSimplex(double[][])
.khi
- Expansion coefficient.gamma
- Contraction coefficient.
NotStrictlyPositiveException
- if the reference simplex does not contain at least one point.
DimensionMismatchException
- if there is a dimension mismatch in the reference simplex.Method Detail |
---|
public void iterate(MultivariateFunction evaluationFunction, Comparator<PointValuePair> comparator)
iterate
in class AbstractSimplex
evaluationFunction
- Evaluation function.comparator
- Comparator to use to sort simplex vertices from best
to worst.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |