a data structure to represent an entry in a conReferenceMatrix element, which consists of a constraint reference as well as a value type. More...
#include <OSMatrix.h>
Public Member Functions | |
ConReferenceMatrixElement () | |
-------— Methods for class ConReferenceMatrixElement -------— More... | |
~ConReferenceMatrixElement () | |
bool | IsEqual (ConReferenceMatrixElement *that) |
A function to check for the equality of two objects. More... | |
bool | setRandom (double density, bool conformant, int iMin, int iMax) |
A function to make a random instance of this class. More... | |
bool | deepCopyFrom (ConReferenceMatrixElement *that) |
A function to make a deep copy of an instance of this class. More... | |
Public Attributes | |
int | conReference |
contains a reference to a row of the problem (objective if negative, constraint otherwise) More... | |
ENUM_CONREFERENCE_VALUETYPE | valueType |
Several different types of values can be derived from a problem constraint. More... | |
double | value |
This element contains the value. More... | |
a data structure to represent an entry in a conReferenceMatrix element, which consists of a constraint reference as well as a value type.
Definition at line 453 of file OSMatrix.h.
ConReferenceMatrixElement::ConReferenceMatrixElement | ( | ) |
-------— Methods for class ConReferenceMatrixElement -------—
Definition at line 5769 of file OSMatrix.cpp.
ConReferenceMatrixElement::~ConReferenceMatrixElement | ( | ) |
Definition at line 5778 of file OSMatrix.cpp.
bool ConReferenceMatrixElement::IsEqual | ( | ConReferenceMatrixElement * | that | ) |
A function to check for the equality of two objects.
Definition at line 5785 of file OSMatrix.cpp.
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) |
iMin,: | lowest index value (inclusive) that a variable reference in this matrix can take |
iMax,: | greatest index value (inclusive) that a variable reference in this matrix can take |
Definition at line 5823 of file OSMatrix.cpp.
bool ConReferenceMatrixElement::deepCopyFrom | ( | ConReferenceMatrixElement * | that | ) |
A function to make a deep copy of an instance of this class.
that,: | the instance from which information is to be copied |
Definition at line 5828 of file OSMatrix.cpp.
int ConReferenceMatrixElement::conReference |
contains a reference to a row of the problem (objective if negative, constraint otherwise)
Definition at line 460 of file OSMatrix.h.
ENUM_CONREFERENCE_VALUETYPE ConReferenceMatrixElement::valueType |
Several different types of values can be derived from a problem constraint.
(See OSParameters.h for an enumeration.)
Definition at line 466 of file OSMatrix.h.
double ConReferenceMatrixElement::value |
This element contains the value.
Definition at line 469 of file OSMatrix.h.