#include <OSResult.h>
Collaboration diagram for DualVariableValues:

Public Member Functions | |
| DualVariableValues () | |
| Default constructor. | |
| ~DualVariableValues () | |
| Class destructor. | |
| bool | IsEqual (DualVariableValues *that) |
| A function to check for the equality of two objects. | |
| bool | setRandom (double density, bool conformant) |
| A function to make a random instance of this class. | |
| DualVariableValues () | |
| Default constructor. | |
| ~DualVariableValues () | |
| Class destructor. | |
Public Attributes | |
| int | numberOfCon |
| record the number of constraints for which values are given | |
| DualVarValue ** | con |
| con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function. | |
| std::vector< DualVarValue * > | con |
| con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function. | |
Definition at line 1579 of file OSResult.h.
| DualVariableValues::DualVariableValues | ( | ) |
| DualVariableValues::~DualVariableValues | ( | ) |
| DualVariableValues::DualVariableValues | ( | ) |
Default constructor.
| DualVariableValues::~DualVariableValues | ( | ) |
Class destructor.
| bool DualVariableValues::IsEqual | ( | DualVariableValues * | that | ) |
| bool DualVariableValues::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" atrbutes and <XXX> children) |
Definition at line 8132 of file OSResult.cpp.
References con, and DualVarValue::setRandom().
record the number of constraints for which values are given
Definition at line 1584 of file OSResult.h.
Referenced by OSResult::setConstraintValues(), OSResult::setDualVariableValues(), OSrL2Gams::writeSolution(), and ~DualVariableValues().
con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function.
Definition at line 1590 of file OSResult.h.
Referenced by OSResult::setConstraintValues(), OSResult::setDualVariableValues(), setRandom(), OSrL2Gams::writeSolution(), and ~DualVariableValues().
| std::vector<DualVarValue*> DualVariableValues::con |
con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function.
Definition at line 973 of file OSResult.h.
1.4.7