@Deprecated public abstract class BaseAbstractUnivariateOptimizer extends Object implements UnivariateOptimizer
| Modifier and Type | Method and Description |
|---|---|
ConvergenceChecker<UnivariatePointValuePair> |
getConvergenceChecker()
Deprecated.
Get the convergence checker.
|
int |
getEvaluations()
Deprecated.
Get the number of evaluations of the objective function.
|
GoalType |
getGoalType()
Deprecated.
|
double |
getMax()
Deprecated.
|
int |
getMaxEvaluations()
Deprecated.
Get the maximal number of function evaluations.
|
double |
getMin()
Deprecated.
|
double |
getStartValue()
Deprecated.
|
UnivariatePointValuePair |
optimize(int maxEval,
UnivariateFunction f,
GoalType goalType,
double min,
double max)
Deprecated.
Find an optimum in the given interval.
|
UnivariatePointValuePair |
optimize(int maxEval,
UnivariateFunction f,
GoalType goalType,
double min,
double max,
double startValue)
Deprecated.
Find an optimum in the given interval, start at startValue.
|
public int getMaxEvaluations()
getMaxEvaluations in interface BaseOptimizer<UnivariatePointValuePair>public int getEvaluations()
optimize method. It is 0 if the method has not been
called yet.getEvaluations in interface BaseOptimizer<UnivariatePointValuePair>public GoalType getGoalType()
public double getMin()
public double getMax()
public double getStartValue()
public UnivariatePointValuePair optimize(int maxEval, UnivariateFunction f, GoalType goalType, double min, double max, double startValue)
optimize in interface BaseUnivariateOptimizer<UnivariateFunction>maxEval - Maximum number of function evaluations.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.public UnivariatePointValuePair optimize(int maxEval, UnivariateFunction f, GoalType goalType, double min, double max)
optimize in interface BaseUnivariateOptimizer<UnivariateFunction>maxEval - Maximum number of function evaluations.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.public ConvergenceChecker<UnivariatePointValuePair> getConvergenceChecker()
getConvergenceChecker in interface BaseOptimizer<UnivariatePointValuePair>Jas4pp 1.5 © Java Analysis Studio for Particle Physics