|
||||||||||
| 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<MultivariateDifferentiableFunction>
org.apache.commons.math3.optimization.general.AbstractDifferentiableOptimizer
@Deprecated public abstract class AbstractDifferentiableOptimizer
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 |
AbstractDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
Deprecated. |
| Method Summary | |
|---|---|
protected double[] |
computeObjectiveGradient(double[] evaluationPoint)
Deprecated. Compute the gradient vector. |
protected PointValuePair |
optimizeInternal(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
double[] startPoint)
Deprecated. In 3.1. Please use optimizeInternal(int,MultivariateDifferentiableFunction,GoalType,OptimizationData[])
instead. |
protected PointValuePair |
optimizeInternal(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
OptimizationData... optData)
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
checker - Convergence checker.| Method Detail |
|---|
protected double[] computeObjectiveGradient(double[] evaluationPoint)
evaluationPoint - Point at which the gradient must be evaluated.
@Deprecated
protected PointValuePair optimizeInternal(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
double[] startPoint)
optimizeInternal(int,MultivariateDifferentiableFunction,GoalType,OptimizationData[])
instead.
optimizeInternal in class BaseAbstractMultivariateOptimizer<MultivariateDifferentiableFunction>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.
protected PointValuePair optimizeInternal(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
OptimizationData... optData)
optimizeInternal in class BaseAbstractMultivariateOptimizer<MultivariateDifferentiableFunction>maxEval - Allowed number of evaluations of the objective function.f - Objective function.goalType - Optimization type.optData - Optimization data. The following data will be looked for:
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||