#include <OSResult.h>
Public Member Functions | |
VarValue () | |
Default constructor. More... | |
~VarValue () | |
Class destructor. More... | |
bool | IsEqual (VarValue *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... | |
VarValue () | |
Default constructor. More... | |
~VarValue () | |
Class destructor. More... | |
Public Attributes | |
int | idx |
idx is the index on variable in the solution More... | |
std::string | name |
optional name More... | |
double | value |
VarValue Class.
Definition at line 847 of file OSResult.h.
VarValue::VarValue | ( | ) |
Default constructor.
Definition at line 408 of file OSResult.cpp.
VarValue::~VarValue | ( | ) |
Class destructor.
Definition at line 419 of file OSResult.cpp.
VarValue::VarValue | ( | ) |
Default constructor.
VarValue::~VarValue | ( | ) |
Class destructor.
bool VarValue::IsEqual | ( | VarValue * | that | ) |
A function to check for the equality of two objects.
Definition at line 8509 of file OSResult.cpp.
bool VarValue::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 10284 of file OSResult.cpp.
int VarValue::idx |
idx is the index on variable in the solution
Definition at line 852 of file OSResult.h.
std::string VarValue::name |
optional name
Definition at line 855 of file OSResult.h.
double VarValue::value |
Definition at line 860 of file OSResult.h.