#include <OSResult.h>
Collaboration diagram for OtherVariableResult:
Public Member Functions | |
OtherVariableResult () | |
Default constructor. | |
~OtherVariableResult () | |
Class destructor. | |
bool | IsEqual (OtherVariableResult *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. | |
OtherVariableResult () | |
Default constructor. | |
~OtherVariableResult () | |
Class destructor. | |
Public Attributes | |
int | numberOfVar |
the number of variables which have values for this particular type of result | |
int | numberOfEnumerations |
the number of distinct values for this particular type of result | |
std::string | name |
the name of the result the user is defining | |
std::string | value |
this element allows a specific value associated with this particular type of result | |
std::string | description |
a brief description of the type of result | |
OtherVarResult ** | var |
OtherOptionEnumeration ** | enumeration |
std::vector< OtherVarResult * > | var |
Definition at line 1124 of file OSResult.h.
OtherVariableResult::OtherVariableResult | ( | ) |
OtherVariableResult::~OtherVariableResult | ( | ) |
Class destructor.
Definition at line 544 of file OSResult.cpp.
References enumeration, numberOfEnumerations, numberOfVar, and var.
OtherVariableResult::OtherVariableResult | ( | ) |
Default constructor.
OtherVariableResult::~OtherVariableResult | ( | ) |
Class destructor.
bool OtherVariableResult::IsEqual | ( | OtherVariableResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 7004 of file OSResult.cpp.
References description, enumeration, name, numberOfEnumerations, numberOfVar, value, and var.
bool OtherVariableResult::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 8562 of file OSResult.cpp.
References enumeration, n, numberOfEnumerations, OSRand(), OtherOptionEnumeration::setRandom(), OtherVarResult::setRandom(), and var.
Referenced by VariableSolution::setRandom().
the number of variables which have values for this particular type of result
Definition at line 1131 of file OSResult.h.
Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), IsEqual(), main(), OSResult::setOtherVariableResultNumberOfVar(), OSrL2Gams::writeSolution(), and ~OtherVariableResult().
the number of distinct values for this particular type of result
Definition at line 1136 of file OSResult.h.
Referenced by OSResult::getOtherVariableResultEnumerationDescription(), OSResult::getOtherVariableResultEnumerationEl(), OSResult::getOtherVariableResultEnumerationNumberOfEl(), OSResult::getOtherVariableResultEnumerationValue(), OSResult::getOtherVariableResultNumberOfEnumerations(), IsEqual(), OSResult::setOtherOptionEnumeration(), OSResult::setOtherVariableResultNumberOfEnumerations(), setRandom(), tempPrintArrays(), and ~OtherVariableResult().
std::string OtherVariableResult::name |
the name of the result the user is defining
Definition at line 1139 of file OSResult.h.
Referenced by OSResult::getOtherVariableResultName(), IsEqual(), main(), OSResult::setOtherVariableResultName(), and OSrL2Gams::writeSolution().
std::string OtherVariableResult::value |
this element allows a specific value associated with this particular type of result
Definition at line 1144 of file OSResult.h.
Referenced by OSResult::getOtherVariableResultValue(), IsEqual(), and OSResult::setOtherVariableResultValue().
std::string OtherVariableResult::description |
a brief description of the type of result
Definition at line 1147 of file OSResult.h.
Referenced by OSResult::getOtherVariableResultDescription(), IsEqual(), main(), and OSResult::setOtherVariableResultDescription().
Definition at line 1153 of file OSResult.h.
Referenced by OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), IsEqual(), main(), OSResult::setOtherVariableResultNumberOfVar(), OSResult::setOtherVariableResultVar(), OSResult::setOtherVariableResultVarIdx(), OSResult::setOtherVariableResultVarName(), setRandom(), OSrL2Gams::writeSolution(), and ~OtherVariableResult().
Definition at line 1159 of file OSResult.h.
Referenced by OSResult::getOtherVariableResultEnumerationDescription(), OSResult::getOtherVariableResultEnumerationEl(), OSResult::getOtherVariableResultEnumerationNumberOfEl(), OSResult::getOtherVariableResultEnumerationValue(), IsEqual(), OSResult::setOtherOptionEnumeration(), OSResult::setOtherVariableResultNumberOfEnumerations(), setRandom(), tempPrintArrays(), and ~OtherVariableResult().
std::vector<OtherVarResult*> OtherVariableResult::var |
Definition at line 631 of file OSResult.h.