ReFRACtor
cost_minimizer.h
Go to the documentation of this file.
1 #ifndef COST_MINIMIZER_H
2 #define COST_MINIMIZER_H
3 #include <iterative_solver.h>
4 #include <cost_func.h>
5 
6 
7 namespace FullPhysics {
8 
9 //-----------------------------------------------------------------------
24 //-----------------------------------------------------------------------
25 
26 class CostMinimizer :
27  public IterativeSolver {
28 
29 public:
30 
31 
32 //-----------------------------------------------------------------------
43 //-----------------------------------------------------------------------
44 
46  int max_cost_function_calls, bool vrbs)
47  : IterativeSolver(max_cost_function_calls, vrbs),
48  P(p)
49  {}
50 
51 
52  virtual ~CostMinimizer() {}
53 
54 
55 //-----------------------------------------------------------------------
57 //-----------------------------------------------------------------------
58 
59  virtual void print(std::ostream& Os) const
60  { Os << "CostMinimizer"; }
61 
62 
63 protected:
64 
66 
67 };
68 }
69 #endif
The base class for all iterative cost minimizers that do not require derivatives of any order...
virtual void print(std::ostream &Os) const
Prints description of object.
CostMinimizer(const boost::shared_ptr< CostFunc > &p, int max_cost_function_calls, bool vrbs)
Constructor.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
The base class for all iterative optimizers.
boost::shared_ptr< CostFunc > P

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