COPASI API  4.16.103
CFitMethod.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/parameterFitting/CFitMethod.h,v $
3  $Revision: 1.2 $
4  $Name: $
5  $Author: shoops $
6  $Date: 2006/04/27 01:30:29 $
7  End CVS Header */
8 
9 // Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc. and EML Research, gGmbH.
11 // All rights reserved.
12 
13 #ifndef COPASI_CFitMethod
14 #define COPASI_CFitMethod
15 
16 #include <string>
17 
19 
20 class CFitProblem;
21 class CFitTask;
22 
23 /**
24  * The CFitMehod class contains optimization methods which can utilize
25  * special properties of the objective function for fitting.
26  */
27 class CFitMethod : public COptMethod
28  {
29  public:
30  static const std::string TypeName[];
31 
32  // Operations
33  private:
34  /**
35  * Default constructor.
36  */
37  CFitMethod();
38 
39  protected:
40  /**
41  *
42  * @param CCopasiMethod::SubType subType
43  * @param const CCopasiContainer * pParent (default: NULL)
44  */
46  const CCopasiContainer * pParent = NULL);
47 
48  public:
49  /**
50  * Create a fitting method.
51  * Note: the returned object has to be released after use with delete
52  */
54 
55  /**
56  * Copy constructor
57  * @param const CFitMethod & src
58  * @param const CCopasiContainer * pParent (default: NULL)
59  */
60  CFitMethod(const CFitMethod & src,
61  const CCopasiContainer * pParent = NULL);
62 
63  /**
64  * Destructor
65  */
66  virtual ~CFitMethod();
67 
68  /**
69  * Initialize arrays and pointer.
70  * @return bool success
71  */
72  virtual bool initialize();
73 
74  /**
75  * Check if the method is suitable for this problem
76  * @return bool suitability of the method
77  */
78  virtual bool isValidProblem(const CCopasiProblem * pProblem);
79 
80  // Attributes
81  protected:
83 
85  };
86 
87 // Include implemented methods below
88 
89 #endif // COPASI_CFitMethod
virtual ~CFitMethod()
Definition: CFitMethod.cpp:69
CFitProblem * mpFitProblem
Definition: CFitMethod.h:82
static const std::string TypeName[]
Definition: CFitMethod.h:30
virtual bool isValidProblem(const CCopasiProblem *pProblem)
Definition: CFitMethod.cpp:82
CFitTask * mpFitTask
Definition: CFitMethod.h:84
static COptMethod * createMethod(CCopasiMethod::SubType subType=CCopasiMethod::EvolutionaryProgram)
Definition: CFitMethod.cpp:26
virtual bool initialize()
Definition: CFitMethod.cpp:72