#include <OSOption.h>
Public Member Functions | |
| InitDualVarValue () | |
| Default constructor. | |
| ~InitDualVarValue () | |
| Class destructor. | |
| bool | IsEqual (InitDualVarValue *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. | |
Public Attributes | |
| int | idx |
| objective index | |
| double | lbDualValue |
| initial lower bound | |
| double | ubDualValue |
| initial upper bound | |
Definition at line 2470 of file OSOption.h.
| InitDualVarValue::InitDualVarValue | ( | ) |
| InitDualVarValue::~InitDualVarValue | ( | ) |
| bool InitDualVarValue::IsEqual | ( | InitDualVarValue * | that | ) |
A function to check for the equality of two objects.
Definition at line 9970 of file OSOption.cpp.
References idx, isEqual(), lbDualValue, and ubDualValue.
| bool InitDualVarValue::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 11165 of file OSOption.cpp.
References idx, lbDualValue, OSRand(), and ubDualValue.
Referenced by InitDualVariableValues::setRandom().
objective index
Definition at line 2474 of file OSOption.h.
Referenced by InitDualVariableValues::addCon(), IsEqual(), InitDualVariableValues::setCon(), and setRandom().
initial lower bound
Definition at line 2477 of file OSOption.h.
Referenced by InitDualVariableValues::addCon(), IsEqual(), InitDualVariableValues::setCon(), and setRandom().
initial upper bound
Definition at line 2480 of file OSOption.h.
Referenced by InitDualVariableValues::addCon(), IsEqual(), InitDualVariableValues::setCon(), and setRandom().
1.4.7