org.jscience.mathematics.analysis.optimization
Class MultiDirectional

java.lang.Object
  extended by org.jscience.mathematics.analysis.optimization.DirectSearchOptimizer
      extended by org.jscience.mathematics.analysis.optimization.MultiDirectional

public class MultiDirectional
extends DirectSearchOptimizer

This class implements the multi-directional direct search method.

See Also:
NelderMead

Field Summary
 
Fields inherited from class org.jscience.mathematics.analysis.optimization.DirectSearchOptimizer
simplex
 
Constructor Summary
MultiDirectional()
          Build a multi-directional optimizer with default coefficients.
MultiDirectional(double khi, double gamma)
          Build a multi-directional optimizer with specified coefficients.
 
Method Summary
protected  void iterateSimplex()
          Compute the next simplex of the algorithm.
 
Methods inherited from class org.jscience.mathematics.analysis.optimization.DirectSearchOptimizer
evaluateCost, evaluateSimplex, getMinima, minimizes, minimizes, minimizes, minimizes, minimizes, minimizes, replaceWorstPoint, setMultiStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiDirectional

public MultiDirectional()
Build a multi-directional optimizer with default coefficients.

The default values are 2.0 for khi and 0.5 for gamma.


MultiDirectional

public MultiDirectional(double khi,
                        double gamma)
Build a multi-directional optimizer with specified coefficients.

Parameters:
khi - expansion coefficient
gamma - contraction coefficient
Method Detail

iterateSimplex

protected void iterateSimplex()
                       throws CostException
Compute the next simplex of the algorithm.

Specified by:
iterateSimplex in class DirectSearchOptimizer
Throws:
CostException - DOCUMENT ME!