#include <CFitItem.h>
List of all members.
Constructor & Destructor Documentation
CFitConstraint::CFitConstraint |
( |
| ) |
[protected] |
CFitConstraint::CFitConstraint |
( |
const CCopasiContainer * |
pParent, |
|
|
const std::string & |
name = "FitItem" |
|
) |
| |
Specific constructor
- Parameters:
-
Copy constructor
- Parameters:
-
Specific constructor used for reading COPASI files
- Parameters:
-
CFitConstraint::~CFitConstraint |
( |
| ) |
[virtual] |
Member Function Documentation
void CFitConstraint::calculateConstraintViolation |
( |
| ) |
|
Calculate and save the constraint violation
C_INT32 CFitConstraint::checkConstraint |
( |
| ) |
const [virtual] |
This functions check whether the current value is within the limits of the constraint. The result depends on last performed calculateConstraintViolation, i.e., it may not be trusted.
- Returns:
- C_INT32 result (-1: to small, 0: within boundaries, 1 to large)
Reimplemented from CFitItem.
C_FLOAT64 CFitConstraint::getConstraintViolation |
( |
| ) |
const [virtual] |
Retrieve the magnitude of the constraint violation This is always a positive number or 0. It is the sum of all constraint violation for a single function evaluation.
- Returns:
- C_FLOAT64 constraintViolation;
Reimplemented from CFitItem.
void CFitConstraint::resetConstraintViolation |
( |
| ) |
|
Reset the constraint violation
The documentation for this class was generated from the following files: