COPASI API  4.16.103
CQFittingWidget.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2014 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 // Copyright (C) 2005 - 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef CQFITTINGWIDGET_H
16 #define CQFITTINGWIDGET_H
17 
18 #include <QtCore/QVariant>
19 
20 #include "copasi/UI/ui_CQFittingWidget.h"
21 
22 class CExperimentSet;
25 
26 class CQFittingWidget : public TaskWidget, public Ui::CQFittingWidget
27 {
28  Q_OBJECT
29 
30 public:
31  CQFittingWidget(QWidget* parent = 0, const char* name = 0);
33 
34  virtual bool runTask();
35 
36 public slots:
37  void slotParameterNumberChanged(int number);
38  void slotConstraintNumberChanged(int number);
39 
40 protected:
43  std::map<std::string, std::string> mExperimentKeyMap;
45  std::map<std::string, std::string> mCrossValidationKeyMap;
47 
48  virtual bool saveTask();
49  virtual bool loadTask();
50  virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType & type);
51  virtual bool taskFinishedEvent();
52 
53 protected slots:
54 
55  void slotExperimentData();
56  void slotPageChange(QWidget * currentPage);
58 
59 private:
60  void init();
61  void destroy();
62 };
63 
64 #endif // CQFITTINGWIDGET_H
std::map< std::string, std::string > mCrossValidationKeyMap
void slotPageChange(QWidget *currentPage)
CQFittingWidget(QWidget *parent=0, const char *name=0)
virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType &type)
size_t mnParamterSetsBeforeRun
CExperimentSet * mpExperimentSet
virtual bool taskFinishedEvent()
virtual bool runTask()
void slotConstraintNumberChanged(int number)
CCrossValidationSet * mpCrossValidationSet
virtual bool saveTask()
CQFittingItemWidget * mpCurrentList
virtual bool loadTask()
void slotParameterNumberChanged(int number)
void slotCrossValidationData()
std::map< std::string, std::string > mExperimentKeyMap