The DualVarValue Class. More...
#include <OSResult.h>
Public Member Functions | |
DualVarValue () | |
Default constructor. More... | |
~DualVarValue () | |
Class destructor. More... | |
bool | IsEqual (DualVarValue *that) |
A function to check for the equality of two objects. More... | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. More... | |
DualVarValue () | |
Default constructor. More... | |
~DualVarValue () | |
Class destructor. More... | |
Public Attributes | |
int | idx |
idx is the index on a constraint More... | |
std::string | name |
optional name More... | |
double | value |
value of dual variable on the constraint indexed by idx More... | |
double | lbValue |
lbValue is the value of dual variable on the constraint indexed by idx if the constraint is at its lower bound More... | |
double | ubValue |
ubValue is the value of dual variable on the constraint indexed by idx if the constraint is at its upper bound More... | |
The DualVarValue Class.
Definition at line 1598 of file OSResult.h.
DualVarValue::DualVarValue | ( | ) |
Default constructor.
Definition at line 772 of file OSResult.cpp.
DualVarValue::~DualVarValue | ( | ) |
Class destructor.
Definition at line 785 of file OSResult.cpp.
DualVarValue::DualVarValue | ( | ) |
Default constructor.
DualVarValue::~DualVarValue | ( | ) |
Class destructor.
bool DualVarValue::IsEqual | ( | DualVarValue * | that | ) |
A function to check for the equality of two objects.
Definition at line 9233 of file OSResult.cpp.
bool DualVarValue::setRandom | ( | double | density, |
bool | conformant | ||
) |
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children) |
Definition at line 10616 of file OSResult.cpp.
int DualVarValue::idx |
idx is the index on a constraint
Definition at line 1603 of file OSResult.h.
std::string DualVarValue::name |
optional name
Definition at line 1606 of file OSResult.h.
double DualVarValue::value |
value of dual variable on the constraint indexed by idx
value of dual variable on the constraint indexed by idx if the constraint
Definition at line 1611 of file OSResult.h.
double DualVarValue::lbValue |
lbValue is the value of dual variable on the constraint indexed by idx if the constraint is at its lower bound
Definition at line 921 of file OSResult.h.
double DualVarValue::ubValue |
ubValue is the value of dual variable on the constraint indexed by idx if the constraint is at its upper bound
Definition at line 928 of file OSResult.h.