FUNC - Type of the objective function to be optimized.@Deprecated public interface BaseUnivariateOptimizer<FUNC extends UnivariateFunction> extends BaseOptimizer<UnivariatePointValuePair>
| Modifier and Type | Method and Description |
|---|---|
UnivariatePointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double min,
double max)
Deprecated.
Find an optimum in the given interval.
|
UnivariatePointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double min,
double max,
double startValue)
Deprecated.
Find an optimum in the given interval, start at startValue.
|
getConvergenceChecker, getEvaluations, getMaxEvaluationsUnivariatePointValuePair optimize(int maxEval, FUNC f, GoalType goalType, double min, double max)
f - Function to optimize.goalType - Type of optimization goal: either
GoalType.MAXIMIZE or GoalType.MINIMIZE.min - Lower bound for the interval.max - Upper bound for the interval.maxEval - Maximum number of function evaluations.TooManyEvaluationsException - if the maximum evaluation count is exceeded.ConvergenceException - if the optimizer detects a convergence problem.IllegalArgumentException - if min > max or the endpoints
do not satisfy the requirements specified by the optimizer.UnivariatePointValuePair optimize(int maxEval, FUNC f, GoalType goalType, double min, double max, double startValue)
f - Function to optimize.goalType - Type of optimization goal: either
GoalType.MAXIMIZE or GoalType.MINIMIZE.min - Lower bound for the interval.max - Upper bound for the interval.startValue - Start value to use.maxEval - Maximum number of function evaluations.TooManyEvaluationsException - if the maximum evaluation count is exceeded.ConvergenceException - if the
optimizer detects a convergence problem.IllegalArgumentException - if min > max or the endpoints
do not satisfy the requirements specified by the optimizer.NullArgumentException - if any
argument is null.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.