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

Public Member Functions | |
| OtherVarResult () | |
| Default constructor. | |
| ~OtherVarResult () | |
| Class destructor. | |
| bool | IsEqual (OtherVarResult *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. | |
| OtherVarResult () | |
| Default constructor. | |
| ~OtherVarResult () | |
| Class destructor. | |
Public Attributes | |
| int | idx |
| the index of a variable in the solution | |
| std::string | value |
| value holds a general value for a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the vairable with index idx, hence we want a string here and not a double | |
Definition at line 1040 of file OSResult.h.
| OtherVarResult::OtherVarResult | ( | ) |
| OtherVarResult::~OtherVarResult | ( | ) |
| OtherVarResult::OtherVarResult | ( | ) |
Default constructor.
| OtherVarResult::~OtherVarResult | ( | ) |
Class destructor.
| bool OtherVarResult::IsEqual | ( | OtherVarResult * | that | ) |
| bool OtherVarResult::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 7935 of file OSResult.cpp.
Referenced by OtherVariableResult::setRandom().
the index of a variable in the solution
Definition at line 1044 of file OSResult.h.
Referenced by main(), and OSrL2Gams::writeSolution().
| std::string OtherVarResult::value |
value holds a general value for a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the vairable with index idx, hence we want a string here and not a double
Definition at line 1052 of file OSResult.h.
Referenced by main(), and OSrL2Gams::writeSolution().
1.4.7