#include <OSResult.h>
Collaboration diagram for ConstraintSolution:
Public Member Functions | |
ConstraintSolution () | |
Default constructor. | |
~ConstraintSolution () | |
Class destructor. | |
bool | IsEqual (ConstraintSolution *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. | |
ConstraintSolution () | |
Default constructor. | |
~ConstraintSolution () | |
Class destructor. | |
Public Attributes | |
int | numberOfOtherConstraintResults |
the number of types of constraint function results other than the basic constraint function values | |
DualVariableValues * | dualValues |
a pointer to an array of DualVariableValues objects | |
BasisStatus * | basisStatus |
a pointer to a BasisStatus object | |
OtherConstraintResult ** | other |
a pointer to an array of other pointer objects for constraint functions | |
DualVariableValues * | dualValues |
a pointer to an array of DualVariableValues objects | |
OtherConstraintResult ** | other |
a pointer to an array of other pointer objects for constraint functions |
Definition at line 1765 of file OSResult.h.
ConstraintSolution::ConstraintSolution | ( | ) |
ConstraintSolution::~ConstraintSolution | ( | ) |
ConstraintSolution::ConstraintSolution | ( | ) |
Default constructor.
ConstraintSolution::~ConstraintSolution | ( | ) |
Class destructor.
bool ConstraintSolution::IsEqual | ( | ConstraintSolution * | that | ) |
bool ConstraintSolution::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 8093 of file OSResult.cpp.
References OSRand(), other, and OtherConstraintResult::setRandom().
the number of types of constraint function results other than the basic constraint function values
Definition at line 1772 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), and OSResult::getOtherConstraintResultEnumerationValue().
a pointer to an array of DualVariableValues objects
Definition at line 1775 of file OSResult.h.
Referenced by OSResult::setConstraintValues(), OSResult::setDualVariableValues(), OSrL2Gams::writeSolution(), and ~ConstraintSolution().
a pointer to a BasisStatus object
Definition at line 1778 of file OSResult.h.
Referenced by OSResult::getBasisStatusEl(), OSResult::getBasisStatusNumberOfEl(), OSResult::setBasisStatus(), and tempPrintArrays().
a pointer to an array of other pointer objects for constraint functions
Definition at line 1783 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::setOtherOptionEnumeration(), setRandom(), and tempPrintArrays().
a pointer to an array of other pointer objects for constraint functions
Definition at line 1112 of file OSResult.h.