public class BrentMinimizer.Solution extends BracketSearchMinimizer.Solution
| Modifier and Type | Method and Description |
|---|---|
protected void |
init(double xmin,
double fmin)
Initializes the algorithm states with initial \(x_{min}\) and
\(f_{min}\) before iterations.
|
protected boolean |
isMinFound()
the convergence criterion
|
double |
search(double lower,
double upper)
Search for a minimum within the interval [lower, upper].
|
double |
search(double lower,
double initial,
double upper)
Search for a minimum within the interval [lower, upper].
|
protected void |
updateStates()
Update the bracketing interval and the best min found so far.
|
protected double |
xnext()
Compute the next best estimate within the bracketing interval.
|
isBracketing, minimizer, minimumpublic double search(double lower,
double initial,
double upper)
UnivariateMinimizer.Solutionsearch in interface UnivariateMinimizer.Solutionsearch in class BracketSearchMinimizer.Solutionlower - the lower bound for the bracketing interval which contains a minimuminitial - an initial guessupper - the upper bound for the bracketing interval which contains a minimumpublic double search(double lower,
double upper)
UnivariateMinimizer.Solutionlower - the lower bound for the bracketing interval which contains a minimumupper - the upper bound for the bracketing interval which contains a minimumprotected void init(double xmin,
double fmin)
BracketSearchMinimizer.Solutioninit in class BracketSearchMinimizer.Solutionxmin - the initial minimum pointfmin - the function value of the initial minimum pointprotected boolean isMinFound()
isMinFound in class BracketSearchMinimizer.Solutiontrue if the minimum is foundprotected double xnext()
BracketSearchMinimizer.Solutionxnext in class BracketSearchMinimizer.Solutionprotected void updateStates()
BracketSearchMinimizer.SolutionupdateStates in class BracketSearchMinimizer.SolutionCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.