Gadget
|
This is the base class used to perform the optimisation calculation for the model. More...
#include <optinfo.h>
Public Member Functions | |
OptInfo () | |
This is the default OptInfo constructor. More... | |
virtual | ~OptInfo () |
This is the default OptInfo destructor. More... | |
virtual void | read (CommentStream &infile, char *text) |
This is the function used to read in the optimisation parameters. More... | |
virtual void | Print (ofstream &outfile, int prec) |
This function will print information from the optimisation algorithm. More... | |
virtual void | OptimiseLikelihood () |
This is the function used to call the optimisation algorithms. More... | |
OptType | getType () const |
This will return the type of optimisation class. More... | |
Protected Attributes | |
int | converge |
This is the flag used to denote whether the optimisation converged or not. More... | |
int | iters |
This is the number of iterations that took place during the optimisation. More... | |
double | score |
This is the value of the best likelihood score from the optimisation. More... | |
OptType | type |
This denotes what type of optimisation class has been created. More... | |
This is the base class used to perform the optimisation calculation for the model.
|
inline |
This is the default OptInfo constructor.
|
inlinevirtual |
This is the default OptInfo destructor.
|
inline |
This will return the type of optimisation class.
|
inlinevirtual |
This is the function used to call the optimisation algorithms.
Reimplemented in OptInfoBFGS, OptInfoSimann, and OptInfoHooke.
|
inlinevirtual |
This function will print information from the optimisation algorithm.
outfile | is the ofstream that the optimisation information gets sent to |
prec | is the precision to use in the output file |
Reimplemented in OptInfoBFGS, OptInfoSimann, and OptInfoHooke.
|
inlinevirtual |
This is the function used to read in the optimisation parameters.
infile | is the CommentStream to read the optimisation parameters from |
text | is a text string used to compare parameter names |
Reimplemented in OptInfoBFGS, OptInfoSimann, and OptInfoHooke.
|
protected |
This is the flag used to denote whether the optimisation converged or not.
|
protected |
This is the number of iterations that took place during the optimisation.
|
protected |
This is the value of the best likelihood score from the optimisation.
|
protected |
This denotes what type of optimisation class has been created.