ReFRACtor
nlls_solver.h
Go to the documentation of this file.
1 #ifndef NLLS_SOLVER_H
2 #define NLLS_SOLVER_H
3 #include <iterative_solver_der.h>
4 #include <nlls_problem.h>
5 
6 namespace FullPhysics {
7 
8 //-----------------------------------------------------------------------
22 //-----------------------------------------------------------------------
23 
24 class NLLSSolver :
25  public IterativeSolverDer {
26 
27 public:
28 
29 
30 //-----------------------------------------------------------------------
41 //-----------------------------------------------------------------------
42 
44  int max_cost_function_calls, bool vrbs)
45  : IterativeSolverDer(max_cost_function_calls, vrbs),
46  P(p)
47  {}
48 
49  virtual const boost::shared_ptr<NLLSProblem> problem() const { return P; };
50 
51  virtual ~NLLSSolver() {}
52 
53 
54 //-----------------------------------------------------------------------
56 //-----------------------------------------------------------------------
57 
58  virtual void print(std::ostream& Os) const
59  { Os << "NLLSSolver"; }
60 
61 
62 protected:
63 
65 
66 };
67 }
68 #endif
The base class for all iterative optimizers that use first order derivatives.
NLLSSolver(const boost::shared_ptr< NLLSProblem > &p, int max_cost_function_calls, bool vrbs)
Constructor.
Definition: nlls_solver.h:43
virtual void print(std::ostream &Os) const
Prints description of object.
Definition: nlls_solver.h:58
The base class for the solvers of the Nonlinear-Least-Squares Problem.
Definition: nlls_solver.h:24
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
boost::shared_ptr< NLLSProblem > P
Definition: nlls_solver.h:64
virtual const boost::shared_ptr< NLLSProblem > problem() const
Definition: nlls_solver.h:49

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10