1 #ifndef COST_MINIMIZER_GSL_H 2 #define COST_MINIMIZER_GSL_H 3 #include <gsl/gsl_multimin.h> 28 int max_cost_function_calls,
double size_tol=0.001,
29 const blitz::Array<double,1>& init_step_size=blitz::Array<double,1>(),
40 virtual void print(std::ostream& Os)
const 41 { Os <<
"CostMinimizerGSL"; }
46 {
return gsl_multimin_fminimizer_nmsimplex2; }
virtual void print(std::ostream &Os) const
Print description of object.
blitz::Array< double, 1 > Initial_step_size
virtual void solve()
The method that solves the optimization problem.
CostMinimizerGSL(const boost::shared_ptr< CostFunc > &p, int max_cost_function_calls, double size_tol=0.001, const blitz::Array< double, 1 > &init_step_size=blitz::Array< double, 1 >(), bool vrbs=false)
Initializes the minimizer.
The base class for all iterative cost minimizers that do not require derivatives of any order...
virtual const gsl_multimin_fminimizer_type * get_gsl_multimin_fminimizer()
virtual ~CostMinimizerGSL()
Contains classes to abstract away details in various Spurr Radiative Transfer software.