#include <CFitItem.h>
List of all members.
Constructor & Destructor Documentation
CFitItem::CFitItem |
( |
| ) |
[protected] |
CFitItem::CFitItem |
( |
const CCopasiContainer * |
pParent, |
|
|
const std::string & |
name = "FitItem" |
|
) |
| |
Specific constructor
- Parameters:
-
const | CCopasiContainer * pParent (default: NULL) |
const | std::string & name (default: FitItem) |
Copy constructor
- Parameters:
-
Specific constructor used for reading COPASI files
- Parameters:
-
CFitItem::~CFitItem |
( |
| ) |
[virtual] |
Member Function Documentation
bool CFitItem::addExperiment |
( |
const std::string & |
key | ) |
|
Add an experiment to the list of affected experiments.
- Parameters:
-
- Returns:
- bool success
C_INT32 CFitItem::checkConstraint |
( |
| ) |
const [virtual] |
This functions check whether the current value is within the limits of the optimization item.
- Returns:
- C_INT32 result (-1: to small, 0: within boundaries, 1 to large)
Reimplemented from COptItem.
Reimplemented in CFitConstraint.
Compile the optimization item. This function must be called before any of the check functions are called.
- Parameters:
-
const | std::vector< CCopasiContainer * > listOfContainer |
- Returns:
- bool success
Reimplemented from COptItem.
bool CFitItem::elevateChildren |
( |
| ) |
[virtual] |
This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.
- Returns:
- bool success
Reimplemented from CCopasiParameterGroup.
C_FLOAT64 CFitItem::getConstraintViolation |
( |
| ) |
const [virtual] |
Retrieve the magnitude of the constraint violation This is always a positive number
- Returns:
- C_FLOAT64 constraintViolation;
Reimplemented from COptItem.
Reimplemented in CFitConstraint.
const std::string & CFitItem::getExperiment |
( |
const unsigned C_INT32 & |
index | ) |
const |
Retreive the key of the indexed experiment.
- Parameters:
-
const | unsigned C_INT32 & index |
- Returns:
- const std::string & key
unsigned C_INT32 CFitItem::getExperimentCount |
( |
| ) |
const |
Retrieve the number of experiments
- Returns:
- unsigned C_INT32 size
std::string CFitItem::getExperiments |
( |
| ) |
const |
Retrieve a string listing all experiments the item applies to
- Returns:
- std::string experiments
const C_FLOAT64 & CFitItem::getLocalValue |
( |
| ) |
const |
Retreive the local value.
- Returns:
- const C_FLOAT64 & value
const C_FLOAT64 * CFitItem::getObjectValue |
( |
| ) |
const [virtual] |
Retrieve the value of the optimization object.
- Returns:
- const C_FLOAT64 * objectValue
Reimplemented from COptItem.
UpdateMethod * CFitItem::getUpdateMethod |
( |
| ) |
const [virtual] |
bool CFitItem::isValid |
( |
| ) |
const [virtual] |
Check the validity of the optimization item.
- Returns:
- bool isValid
Reimplemented from COptItem.
Check whether the group describes a valid optimization item.
- Parameters:
-
- Returns:
- bool isValid
Reimplemented from COptItem.
bool CFitItem::removeExperiment |
( |
const unsigned C_INT32 & |
index | ) |
|
Remove the indexed experiment from the affected experiments
- Parameters:
-
const | unsigned C_INT32 & index |
- Returns:
- bool success
void CFitItem::setLocalValue |
( |
const C_FLOAT64 & |
value | ) |
|
Set the local value.
- Parameters:
-
bool CFitItem::updateBounds |
( |
std::vector< COptItem * >::iterator |
it | ) |
|
Update bounds
- Parameters:
-
std::vector<COptItem | * >::iterator it |
- Returns:
- bool success
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CFitItem & |
o |
|
) |
| [friend] |
Output stream operator
- Parameters:
-
- Returns:
- ostream & os
Member Data Documentation
The value for local items, which affect the experiments in the list.
A pointer to the local update method
The documentation for this class was generated from the following files: