public class LeastSquaresAdapter extends Object implements LeastSquaresProblem
LeastSquaresProblem.LeastSquaresProblem.Evaluation| Constructor and Description | 
|---|
| LeastSquaresAdapter(LeastSquaresProblem problem)Delegate the  LeastSquaresProbleminterface to the given implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| LeastSquaresProblem.Evaluation | evaluate(RealVector point)Evaluate the model at the specified point. | 
| ConvergenceChecker<LeastSquaresProblem.Evaluation> | getConvergenceChecker()Gets the convergence checker. | 
| Incrementor | getEvaluationCounter()Get a independent Incrementor that counts up to the maximum number of evaluations
 and then throws an exception. | 
| Incrementor | getIterationCounter()Get a independent Incrementor that counts up to the maximum number of iterations
 and then throws an exception. | 
| int | getObservationSize()Get the number of observations (rows in the Jacobian) in this problem. | 
| int | getParameterSize()Get the number of parameters (columns in the Jacobian) in this problem. | 
| RealVector | getStart()Gets the initial guess. | 
public LeastSquaresAdapter(LeastSquaresProblem problem)
LeastSquaresProblem interface to the given implementation.problem - the delegatepublic RealVector getStart()
getStart in interface LeastSquaresProblempublic int getObservationSize()
getObservationSize in interface LeastSquaresProblempublic int getParameterSize()
getParameterSize in interface LeastSquaresProblempublic LeastSquaresProblem.Evaluation evaluate(RealVector point)
evaluate in interface LeastSquaresProblempoint - public Incrementor getEvaluationCounter()
getEvaluationCounter in interface OptimizationProblem<LeastSquaresProblem.Evaluation>public Incrementor getIterationCounter()
getIterationCounter in interface OptimizationProblem<LeastSquaresProblem.Evaluation>public ConvergenceChecker<LeastSquaresProblem.Evaluation> getConvergenceChecker()
getConvergenceChecker in interface OptimizationProblem<LeastSquaresProblem.Evaluation>Copyright © 2016–2020 Hipparchus.org. All rights reserved.