The VariableValues Class. More...
#include <OSResult.h>
Public Member Functions | |
VariableValues () | |
Default constructor. More... | |
~VariableValues () | |
Class destructor. More... | |
bool | IsEqual (VariableValues *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... | |
VariableValues () | |
Default constructor. More... | |
~VariableValues () | |
Class destructor. More... | |
Public Attributes | |
int | numberOfVar |
the number of variable values that are in the solution More... | |
VarValue ** | var |
a vector of VarValue objects, there will be one for each variable in the solution More... | |
std::vector< VarValue * > | var |
a vector of VarValue objects, there will be one for each variable in the solution More... | |
The VariableValues Class.
Definition at line 901 of file OSResult.h.
VariableValues::VariableValues | ( | ) |
Default constructor.
Definition at line 428 of file OSResult.cpp.
VariableValues::~VariableValues | ( | ) |
Class destructor.
Definition at line 438 of file OSResult.cpp.
VariableValues::VariableValues | ( | ) |
Default constructor.
VariableValues::~VariableValues | ( | ) |
Class destructor.
bool VariableValues::IsEqual | ( | VariableValues * | that | ) |
A function to check for the equality of two objects.
Definition at line 8454 of file OSResult.cpp.
bool VariableValues::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 10260 of file OSResult.cpp.
int VariableValues::numberOfVar |
the number of variable values that are in the solution
Definition at line 907 of file OSResult.h.
VarValue** VariableValues::var |
a vector of VarValue objects, there will be one for each variable in the solution
Definition at line 912 of file OSResult.h.
std::vector<VarValue*> VariableValues::var |
a vector of VarValue objects, there will be one for each variable in the solution
Definition at line 465 of file OSResult.h.