#include <OSResult.h>
Collaboration diagram for VariableSolution:
Public Member Functions | |
VariableSolution () | |
Default constructor. | |
~VariableSolution () | |
Class destructor. | |
bool | IsEqual (VariableSolution *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. | |
VariableSolution () | |
Default constructor. | |
~VariableSolution () | |
Class destructor. | |
Public Attributes | |
int | numberOfOtherVariableResults |
the number of types of variable results other than the value of the variable | |
VariableValues * | values |
a pointer to a VariableValues object | |
VariableValuesString * | valuesString |
a pointer to a VariableValuesString object | |
BasisStatus * | basisStatus |
a pointer to a BasisStatus object | |
OtherVariableResult ** | other |
a pointer to an array of other pointer objects for variables | |
VariableValues * | values |
a pointer to an array of VariableValues objects | |
VariableStringValues * | valuesString |
a pointer to an array of VariableStringValues objects | |
OtherVariableResult ** | other |
a pointer to an array of other pointer objects for variables |
Definition at line 1202 of file OSResult.h.
VariableSolution::VariableSolution | ( | ) |
VariableSolution::~VariableSolution | ( | ) |
Class destructor.
Definition at line 588 of file OSResult.cpp.
References basisStatus, numberOfOtherVariableResults, other, values, and valuesString.
VariableSolution::VariableSolution | ( | ) |
Default constructor.
VariableSolution::~VariableSolution | ( | ) |
Class destructor.
bool VariableSolution::IsEqual | ( | VariableSolution * | that | ) |
A function to check for the equality of two objects.
Definition at line 6752 of file OSResult.cpp.
References basisStatus, numberOfOtherVariableResults, other, values, and valuesString.
bool VariableSolution::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 8442 of file OSResult.cpp.
References basisStatus, n, numberOfOtherVariableResults, OSRand(), other, BasisStatus::setRandom(), VariableValuesString::setRandom(), VariableValues::setRandom(), OtherVariableResult::setRandom(), values, and valuesString.
Referenced by OptimizationSolution::setRandom().
the number of types of variable results other than the value of the variable
Definition at line 1209 of file OSResult.h.
Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOtherVariableResultDescription(), OSResult::getOtherVariableResultEnumerationDescription(), OSResult::getOtherVariableResultEnumerationEl(), OSResult::getOtherVariableResultEnumerationNumberOfEl(), OSResult::getOtherVariableResultEnumerationValue(), OSResult::getOtherVariableResultName(), OSResult::getOtherVariableResultNumberOfEnumerations(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultValue(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), IsEqual(), OSResult::setNumberOfOtherVariableResults(), OSResult::setOtherOptionEnumeration(), setRandom(), OSrL2Gams::writeSolution(), and ~VariableSolution().
a pointer to a VariableValues object
Definition at line 1212 of file OSResult.h.
Referenced by OSResult::getNumberOfPrimalVariableValues(), OSResult::getNumberOfVarValues(), OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValue(), OSResult::getVarValueIdx(), OSResult::getVarValueName(), IsEqual(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfVarValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), setRandom(), OSResult::setVarValue(), OSrL2Gams::writeSolution(), and ~VariableSolution().
a pointer to a VariableValuesString object
Definition at line 1215 of file OSResult.h.
Referenced by OSResult::getNumberOfVarValuesString(), OSResult::getVarValueString(), OSResult::getVarValueStringIdx(), OSResult::getVarValueStringName(), IsEqual(), OSResult::setNumberOfVarValuesString(), setRandom(), OSResult::setVarValueString(), and ~VariableSolution().
a pointer to a BasisStatus object
Definition at line 1218 of file OSResult.h.
Referenced by OSResult::getBasisStatusEl(), OSResult::getBasisStatusNumberOfEl(), IsEqual(), OSResult::setBasisStatus(), setRandom(), tempPrintArrays(), and ~VariableSolution().
a pointer to an array of other pointer objects for variables
Definition at line 1223 of file OSResult.h.
Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOtherVariableResultDescription(), OSResult::getOtherVariableResultEnumerationDescription(), OSResult::getOtherVariableResultEnumerationEl(), OSResult::getOtherVariableResultEnumerationNumberOfEl(), OSResult::getOtherVariableResultEnumerationValue(), OSResult::getOtherVariableResultName(), OSResult::getOtherVariableResultNumberOfEnumerations(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultValue(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), IsEqual(), main(), OSResult::setNumberOfOtherVariableResults(), OSResult::setOtherOptionEnumeration(), OSResult::setOtherVariableResultDescription(), OSResult::setOtherVariableResultName(), OSResult::setOtherVariableResultNumberOfEnumerations(), OSResult::setOtherVariableResultNumberOfVar(), OSResult::setOtherVariableResultValue(), OSResult::setOtherVariableResultVar(), OSResult::setOtherVariableResultVarIdx(), OSResult::setOtherVariableResultVarName(), setRandom(), tempPrintArrays(), OSrL2Gams::writeSolution(), and ~VariableSolution().
a pointer to an array of other pointer objects for variables
Definition at line 677 of file OSResult.h.