Deprecated
As of 3.1 (to be removed in 4.0).
| Modifier and Type | Field and Description |
|---|---|
| private ConvergenceChecker | checker
Deprecated
as a consequence of Convergence checker.
ConvergenceChecker being deprecated.
|
| protected final Incrementor | evaluations
Deprecated
as a consequence of Evaluations counter.
Incrementor being deprecated.
|
| private FUNC | function
Objective function. |
| private double[] | start
Initial guess. |
| private double[] | target
Target value for the objective functions at optimum. |
| private double[] | weight
Deprecated
Weight for the least squares cost computation.
|
| private RealMatrix | weightMatrix
Weight matrix. |
| Access | Constructor and Description |
|---|---|
| protected | BaseAbstractMultivariateVectorOptimizer()
Deprecated
See
SimpleVectorValueChecker#SimpleVectorValueChecker()
Simple constructor with default settings. |
| protected | BaseAbstractMultivariateVectorOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker. checker)
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected double[] | Returns: the objective function value at the specified point.Point at which the objective function must be evaluated. point)Compute the objective function value. |
| protected abstract PointVectorValuePair | Returns: the point/value pair giving the optimal value for the objective function.
Deprecated
as a consequence of
PointVectorValuePair being deprecated.
Perform the bulk of the optimization algorithm. |
| public ConvergenceChecker | getConvergenceChecker()
Implements org.
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
Get the convergence checker. |
| public int | getEvaluations()
Implements org. Get the number of evaluations of the objective function. |
| public int | getMaxEvaluations()
Implements org. Get the maximal number of function evaluations. |
| protected FUNC | |
| public double[] | |
| public double[] | Returns: the target values.Gets the observed values to be matched by the objective vector function. |
| protected double[] | |
| public RealMatrix | |
| protected double[] | |
| public PointVectorValuePair | optimize(int
Maximum number of function evaluations. maxEval, FUNC Objective function. f, double[] Target value for the objective functions at optimum. t, double[] Weights for the least squares cost computation. w, double[] Start point for optimization. startPoint)Implements org.
Deprecated
As of 3.1.
Optimize an objective function. |
| protected PointVectorValuePair | Returns: the point/value pair giving the optimal value of the objective function.Allowed number of evaluations of the objective function. maxEval, FUNC Objective function. f, OptimizationData... Optimization data. The following data will be looked for:
optData)
Deprecated
as a consequence of
OptimizationData and PointVectorValuePair being deprecated.
Optimize an objective function. |
| protected PointVectorValuePair | Returns: the point/value pair giving the optimal value for objective function.Maximum number of function evaluations. maxEval, final FUNC Objective function. f, final double[] Target value for the objective functions at optimum. t, final double[] Weights for the least squares cost computation. w, final double[] Start point for optimization. startPoint)
Deprecated
As of 3.1.
Optimize an objective function. |
| protected PointVectorValuePair | Returns: the point/value pair giving the optimal value of the objective function.Allowed number of evaluations of the objective function. maxEval, FUNC Objective function. f, OptimizationData... Optimization data. The following data will be looked for:
optData)
Deprecated
as a consequence of
OptimizationData and PointVectorValuePair being deprecated.
Optimize an objective function. |
| private void | parseOptimizationData(OptimizationData...
Optimization data. The following data will be looked for:
optData)
Deprecated
as a consequence of
OptimizationData being deprecated.
Scans the list of (required and optional) optimization data that characterize the problem. |
| protected void |
| checker | back to summary |
|---|---|
| private ConvergenceChecker<PointVectorValuePair> checker
Deprecated as a consequence of Convergence checker. | |
| evaluations | back to summary |
|---|---|
| protected final Incrementor evaluations
Deprecated as a consequence of Evaluations counter. | |
| function | back to summary |
|---|---|
| private FUNC function Objective function. | |
| start | back to summary |
|---|---|
| private double[] start Initial guess. | |
| target | back to summary |
|---|---|
| private double[] target Target value for the objective functions at optimum. | |
| weight | back to summary |
|---|---|
| private double[] weight
Deprecated
Weight for the least squares cost computation. | |
| weightMatrix | back to summary |
|---|---|
| private RealMatrix weightMatrix Weight matrix. | |
| BaseAbstractMultivariateVectorOptimizer | back to summary |
|---|---|
| protected BaseAbstractMultivariateVectorOptimizer()
Deprecated Simple constructor with default settings.
The convergence check is set to a
| |
| BaseAbstractMultivariateVectorOptimizer | back to summary |
|---|---|
| protected BaseAbstractMultivariateVectorOptimizer(ConvergenceChecker<PointVectorValuePair> checker)
Deprecated as a consequence of
| |
| checkParameters | back to summary |
|---|---|
| private void checkParameters() Check parameters consistency.
| |
| computeObjectiveValue | back to summary |
|---|---|
| protected double[] computeObjectiveValue(double[] point) Compute the objective function value.
| |
| doOptimize | back to summary |
|---|---|
| protected abstract PointVectorValuePair doOptimize()
Deprecated as a consequence of Perform the bulk of the optimization algorithm.
| |
| getConvergenceChecker | back to summary |
|---|---|
| public ConvergenceChecker Implements org. Doc from org. Deprecated as a consequence of Get the convergence checker.
| |
| getEvaluations | back to summary |
|---|---|
| public int getEvaluations() Implements org. Doc from org. Get the number of evaluations of the objective function.
The number of evaluations corresponds to the last call to the
| |
| getMaxEvaluations | back to summary |
|---|---|
| public int getMaxEvaluations() Implements org. Doc from org. Get the maximal number of function evaluations.
| |
| getObjectiveFunction | back to summary |
|---|---|
| protected FUNC getObjectiveFunction() Gets the objective vector function. Note that this access bypasses the evaluation counter.
| |
| getStartPoint | back to summary |
|---|---|
| public double[] getStartPoint() Gets the initial values of the optimized parameters.
| |
| getTarget | back to summary |
|---|---|
| public double[] getTarget() Gets the observed values to be matched by the objective vector function.
| |
| getTargetRef | back to summary |
|---|---|
| protected double[] getTargetRef()
Deprecated As of 3.1.
| |
| getWeight | back to summary |
|---|---|
| public RealMatrix getWeight() Gets the weight matrix of the observations.
| |
| getWeightRef | back to summary |
|---|---|
| protected double[] getWeightRef()
Deprecated As of 3.1.
| |
| optimize | back to summary |
|---|---|
| public PointVectorValuePair optimize(int maxEval, FUNC f, double[] t, double[] w, double[] startPoint) Implements org. Doc from org. Deprecated As of 3.1. Please use
Optimize an objective function.
Optimization is considered to be a weighted least-squares minimization.
The cost function to be minimized is
| |
| optimize | back to summary |
|---|---|
| protected PointVectorValuePair optimize(int maxEval, FUNC f, OptimizationData... optData) throws TooManyEvaluationsException, DimensionMismatchException
Deprecated as a consequence of Optimize an objective function.
| |
| optimizeInternal | back to summary |
|---|---|
| protected PointVectorValuePair optimizeInternal(final int maxEval, final FUNC f, final double[] t, final double[] w, final double[] startPoint)
Deprecated As of 3.1. Please use
Optimize an objective function.
Optimization is considered to be a weighted least-squares minimization.
The cost function to be minimized is
| |
| optimizeInternal | back to summary |
|---|---|
| protected PointVectorValuePair optimizeInternal(int maxEval, FUNC f, OptimizationData... optData) throws TooManyEvaluationsException, DimensionMismatchException
Deprecated as a consequence of Optimize an objective function.
| |
| parseOptimizationData | back to summary |
|---|---|
| private void parseOptimizationData(OptimizationData... optData)
Deprecated as a consequence of Scans the list of (required and optional) optimization data that characterize the problem.
| |
| setUp | back to summary |
|---|---|
| protected void setUp() Method which a subclass must override whenever its internal
state depend on the
| |