copasi API
0.1
|
#include <CFitTask.h>
Public Member Functions | |
CFitTask (const CCopasiTask::Type &type=CCopasiTask::parameterFitting, const CCopasiContainer *pParent=NULL) | |
CFitTask (const CFitTask &src, const CCopasiContainer *pParent=NULL) | |
~CFitTask () | |
void | cleanup () |
virtual bool | setCallBack (CProcessReport *pCallBack) |
virtual bool | initialize (const OutputFlag &of, COutputHandler *pOutputHandler, std::ostream *pOstream) |
virtual bool | process (const bool &useInitialValues) |
virtual bool | restore () |
virtual bool | setMethodType (const int &type) |
CFitTask class.
This class implements a parameter estimation task which is comprised of a of a problem and a method.
CFitTask::CFitTask | ( | const CCopasiTask::Type & | type = CCopasiTask::parameterFitting , |
const CCopasiContainer * | pParent = NULL |
||
) |
default constructor
const | CCopasiTask::Type & type (default: parameterFitting) |
const | CCopasiContainer * pParent (default: NULL) |
CFitTask class.
This class implements a parameter estimation task which is comprised of a of a problem and a method.
CFitTask::CFitTask | ( | const CFitTask & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
Copy constructor
const | CFitTask & src |
const | CCopasiContainer * pParent (default: NULL) |
CFitTask::~CFitTask | ( | ) |
Destructor
bool CFitTask::initialize | ( | const OutputFlag & | of, |
COutputHandler * | pOutputHandler, | ||
std::ostream * | pOstream | ||
) | [virtual] |
Initialize the task. If an ostream is given this ostream is used instead of the target specified in the report. This allows nested tasks to share the same output device.
const | OutputFlag & of |
COutputHandler | * pOutputHandler |
std::ostream | * pOstream (default: NULL) |
Reimplemented from COptTask.
bool CFitTask::process | ( | const bool & | useInitialValues | ) | [virtual] |
Process the task with or without initializing to the initial state.
const | bool & useInitialValues |
Reimplemented from COptTask.
bool CFitTask::restore | ( | ) | [virtual] |
Perform neccessary cleaup procedures
Reimplemented from CCopasiTask.
bool CFitTask::setCallBack | ( | CProcessReport * | pCallBack | ) | [virtual] |
Set the call back of the task
CProcessReport | * pCallBack |
Reimplemented from COptTask.
bool CFitTask::setMethodType | ( | const int & | type | ) | [virtual] |
Set the method type applied to solve the task
const | CCopasiMethod::SubType & type |
Reimplemented from COptTask.