public class MultiDirectional extends DirectSearchOptimizer
NelderMeadsimplex| Constructor and Description |
|---|
MultiDirectional()
Build a multi-directional optimizer with default coefficients.
|
MultiDirectional(double khi,
double gamma)
Build a multi-directional optimizer with specified coefficients.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
iterateSimplex(Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.
|
evaluate, evaluateSimplex, getConvergenceChecker, getEvaluations, getIterations, getMaxEvaluations, getMaxIterations, incrementIterationsCounter, optimize, replaceWorstPoint, setConvergenceChecker, setMaxEvaluations, setMaxIterations, setStartConfiguration, setStartConfigurationpublic MultiDirectional()
The default values are 2.0 for khi and 0.5 for gamma.
public MultiDirectional(double khi,
double gamma)
khi - expansion coefficientgamma - contraction coefficientprotected void iterateSimplex(Comparator<RealPointValuePair> comparator) throws FunctionEvaluationException, OptimizationException, IllegalArgumentException
iterateSimplex in class DirectSearchOptimizercomparator - comparator to use to sort simplex vertices from best to worstFunctionEvaluationException - if the function cannot be evaluated at
some pointOptimizationException - if the algorithm fails to convergeIllegalArgumentException - if the start point dimension is wrongCopyright © 2003–2015. All rights reserved.