Package | Description |
---|---|
de.jstacs.algorithms.optimization |
Provides classes for different types of algorithms that are not directly linked to the modelling components of Jstacs: Algorithms on graphs, algorithms for numerical optimization, and a basic alignment algorithm.
|
Modifier and Type | Class and Description |
---|---|
class |
NegativeOneDimensionalFunction
This class extends the class
OneDimensionalFunction . |
class |
OneDimensionalSubFunction
This class is used to do the line search.
|
class |
QuadraticFunction
This class implements a quadratic function.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
Optimizer.brentsMethod(OneDimensionalFunction f,
double a,
double x,
double b,
double tol)
Approximates a minimum (not necessary the global) in the interval
[lower,upper] . |
static double[] |
Optimizer.brentsMethod(OneDimensionalFunction f,
double a,
double x,
double fx,
double b,
double tol)
Approximates a minimum (not necessary the global) in the interval
[lower,upper] . |
static double[] |
Optimizer.findBracket(OneDimensionalFunction f,
double lower,
double startDistance)
This method returns a bracket containing a minimum.
|
static double[] |
Optimizer.findBracket(OneDimensionalFunction f,
double lower,
double fLower,
double startDistance)
This method returns a bracket containing a minimum.
|
static double[] |
Optimizer.goldenRatio(OneDimensionalFunction f,
double lower,
double upper,
double eps)
Approximates a minimum (not necessary the global) in the interval
[lower,upper] . |
static double[] |
Optimizer.goldenRatio(OneDimensionalFunction f,
double lower,
double p1,
double fP1,
double upper,
double eps)
Approximates a minimum (not necessary the global) in the interval
[lower,upper] . |
static double[] |
Optimizer.parabolicInterpolation(OneDimensionalFunction f,
double lower,
double p1,
double upper,
double eps)
Approximates a minimum (not necessary the global) in the interval
[lower,upper] . |
static double[] |
Optimizer.parabolicInterpolation(OneDimensionalFunction f,
double lower,
double fLower,
double p1,
double fP1,
double upper,
double fUpper,
double eps)
Approximates a minimum (not necessary the global) in the interval
[lower,upper] . |
Constructor and Description |
---|
NegativeOneDimensionalFunction(OneDimensionalFunction f)
|