BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
GSLSimAnnealing class for performing a simulated annealing search of a multidimensional function
Definition at line 193 of file GSLSimAnnealing.h.
Public Member Functions | |
GSLSimAnnealing () | |
~GSLSimAnnealing () | |
GSLSimAnParams & | Params () |
const GSLSimAnParams & | Params () const |
void | SetParams (const GSLSimAnParams ¶ms) |
int | Solve (const ROOT::Math::IMultiGenFunction &func, const double *x0, const double *scale, double *xmin, bool debug=false) |
int | Solve (GSLSimAnFunc &func, bool debug=false) |
Private Member Functions | |
GSLSimAnnealing (const GSLSimAnnealing &) | |
GSLSimAnnealing & | operator= (const GSLSimAnnealing &rhs) |
Private Attributes | |
GSLSimAnParams | fParams |
ROOT::Math::GSLSimAnnealing::GSLSimAnnealing | ( | ) |
Default constructor
|
inline |
|
inlineprivate |
|
inlineprivate |
Assignment operator
Definition at line 218 of file GSLSimAnnealing.h.
|
inline |
|
inline |
|
inline |
int ROOT::Math::GSLSimAnnealing::Solve | ( | const ROOT::Math::IMultiGenFunction & | func, |
const double * | x0, | ||
const double * | scale, | ||
double * | xmin, | ||
bool | debug = false |
||
) |
solve the simulated annealing given a multi-dim function, the initial vector parameters and a vector containing the scaling factors for the parameters
int ROOT::Math::GSLSimAnnealing::Solve | ( | GSLSimAnFunc & | func, |
bool | debug = false |
||
) |
solve the simulated annealing given a GSLSimAnFunc object The object will contain the initial state at the beginning and the final minimum state at the end
|
private |
Definition at line 249 of file GSLSimAnnealing.h.
Referenced by Params(), and SetParams().