|
||||||||||
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<FUNC>
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer<FUNC>
FUNC
- Type of the objective function to be optimized.
@Deprecated public abstract class BaseAbstractMultivariateSimpleBoundsOptimizer<FUNC extends MultivariateFunction>
Base class for implementing optimizers for multivariate scalar functions, subject to simple bounds: The valid range of the parameters is an interval. The interval can possibly be infinite (in one or both directions). This base class handles the boiler-plate methods associated to thresholds settings, iterations and evaluations counting.
Field Summary |
---|
Fields inherited from class org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer |
---|
evaluations |
Constructor Summary | |
---|---|
protected |
BaseAbstractMultivariateSimpleBoundsOptimizer()
Deprecated. See SimpleValueChecker.SimpleValueChecker() |
protected |
BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker)
Deprecated. |
Method Summary | |
---|---|
double[] |
getLowerBound()
Deprecated. |
double[] |
getUpperBound()
Deprecated. |
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint)
Deprecated. Optimize an objective function. |
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint,
double[] lower,
double[] upper)
Deprecated. Optimize an objective function. |
Methods inherited from class org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer |
---|
computeObjectiveValue, doOptimize, getConvergenceChecker, getEvaluations, getGoalType, getMaxEvaluations, getStartPoint, optimize, optimizeInternal, 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.BaseOptimizer |
---|
getConvergenceChecker, getEvaluations, getMaxEvaluations |
Constructor Detail |
---|
@Deprecated protected BaseAbstractMultivariateSimpleBoundsOptimizer()
SimpleValueChecker.SimpleValueChecker()
SimpleValueChecker
.
BaseAbstractMultivariateOptimizer.BaseAbstractMultivariateOptimizer()
protected BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker)
checker
- Convergence checker.Method Detail |
---|
public double[] getLowerBound()
getLowerBound
in class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>
public double[] getUpperBound()
getUpperBound
in class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>
public PointValuePair optimize(int maxEval, FUNC f, GoalType goalType, double[] startPoint)
optimize
in interface BaseMultivariateOptimizer<FUNC extends MultivariateFunction>
optimize
in class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>
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, FUNC f, GoalType goalType, double[] startPoint, double[] lower, double[] upper)
optimize
in interface BaseMultivariateSimpleBoundsOptimizer<FUNC extends MultivariateFunction>
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.lower
- Lower bound for each of the parameters.upper
- Upper bound for each of the parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |