|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer<DifferentiableMultivariateFunction>
org.apache.commons.math3.optimization.general.AbstractScalarDifferentiableOptimizer
@Deprecated public abstract class AbstractScalarDifferentiableOptimizer
Base class for implementing optimizers for multivariate scalar differentiable functions. It contains boiler-plate code for dealing with gradient evaluation.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer |
|---|
evaluations |
| Constructor Summary | |
|---|---|
protected |
AbstractScalarDifferentiableOptimizer()
Deprecated. See SimpleValueChecker.SimpleValueChecker() |
protected |
AbstractScalarDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
Deprecated. |
| Method Summary | |
|---|---|
protected double[] |
computeObjectiveGradient(double[] evaluationPoint)
Deprecated. Compute the gradient vector. |
PointValuePair |
optimize(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
double[] startPoint)
Deprecated. Optimize an objective function. |
protected PointValuePair |
optimizeInternal(int maxEval,
DifferentiableMultivariateFunction f,
GoalType goalType,
double[] startPoint)
Deprecated. Optimize an objective function. |
| Methods inherited from class org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer |
|---|
computeObjectiveValue, doOptimize, getConvergenceChecker, getEvaluations, getGoalType, getLowerBound, getMaxEvaluations, getStartPoint, getUpperBound, optimize, optimize, optimizeInternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.math3.optimization.BaseMultivariateOptimizer |
|---|
optimize |
| Methods inherited from interface org.apache.commons.math3.optimization.BaseOptimizer |
|---|
getConvergenceChecker, getEvaluations, getMaxEvaluations |
| Constructor Detail |
|---|
@Deprecated protected AbstractScalarDifferentiableOptimizer()
SimpleValueChecker.SimpleValueChecker()
SimpleValueChecker.
protected AbstractScalarDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
checker - Convergence checker.| Method Detail |
|---|
protected double[] computeObjectiveGradient(double[] evaluationPoint)
evaluationPoint - Point at which the gradient must be evaluated.
TooManyEvaluationsException - if the allowed number of evaluations is exceeded.
protected PointValuePair optimizeInternal(int maxEval,
DifferentiableMultivariateFunction f,
GoalType goalType,
double[] startPoint)
optimizeInternal in class BaseAbstractMultivariateOptimizer<DifferentiableMultivariateFunction>maxEval - Maximum number of function evaluations.f - Objective function.goalType - Type of optimization goal: either
GoalType.MAXIMIZE or GoalType.MINIMIZE.startPoint - Start point for optimization.
public PointValuePair optimize(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
double[] startPoint)
f - Objective function.goalType - Type of optimization goal: either
GoalType.MAXIMIZE or GoalType.MINIMIZE.startPoint - Start point for optimization.maxEval - Maximum number of function evaluations.
DimensionMismatchException - if the start point dimension is wrong.
TooManyEvaluationsException - if the maximal number of evaluations is exceeded.
NullArgumentException - if
any argument is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||