- All Known Implementing Classes:
LevenbergMarquardt
public interface Optimizer
Interface for numerical optimizers.
- Version:
- 1.0
- Author:
- Christian Fries
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Interface for the objective function. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Get the best fit parameter vector.int
Get the number of iterations.double
void
run()
Runs the optimization.
-
Method Details
-
getBestFitParameters
double[] getBestFitParameters()Get the best fit parameter vector.- Returns:
- The best fit parameter.
-
getRootMeanSquaredError
double getRootMeanSquaredError()- Returns:
- the the root mean square error of achieved with the the best fit parameter
-
getIterations
int getIterations()Get the number of iterations.- Returns:
- The number of iterations required
-
run
Runs the optimization.- Throws:
SolverException
- Thrown if the valuation fails, specific cause may be available via thecause()
method.
-