34 output <<
"ModelParameter name, average, gaussian error, flat error" << std::endl;
35 output << m.
name <<
" " << m.
ave <<
" " << m.
errg <<
" " << m.
errf << std::endl;
44 ave = atof((*beg).c_str());
46 errg = atof((*beg).c_str());
48 errf = atof((*beg).c_str());
std::ostream & operator<<(std::ostream &output, const ModelParameter &m)
A class for model parameters.
boost::tokenizer< boost::char_separator< char > >::iterator & ParseModelParameter(boost::tokenizer< boost::char_separator< char > >::iterator &beg)
Parser for model parameters.
bool isFixed
A boolean flag that is true if the parameter is fixed.
double errg
The Gaussian error of the model parameter.
double ave
The average value of the model parameter.
ModelParameter()
Constructor.
std::string name
The name of the model parameter.
double max
The maximum value of the model parameter.
double min
The minimum value of the model parameter.
virtual ~ModelParameter()
The default destructor.
double errf
The flat error of the model parameter.