OS
2.9.3
|
a data structure to represent constraint reference elements in a MatrixType object Each nonzero element is of the form x_{k} where k is the index of a constraint More...
#include <OSMatrix.h>
Public Member Functions | |
ConReferenceMatrixElements () | |
~ConReferenceMatrixElements () | |
bool | IsEqual (ConReferenceMatrixElements *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 (ConReferenceMatrixElements *that) |
A function to make a deep copy of an instance of this class. More... | |
Public Attributes | |
int | numberOfValues |
numberOfValues records the number of entries in the arrays that make up the instance of nonzeros More... | |
bool | rowMajor |
To indicate whether the conReference matrix elements are stored in row major form or column major form. More... | |
IntVector * | start |
A vector listing the row or column starts. More... | |
IntVector * | indexes |
The row (or column) indices and constraint references of the elements. More... | |
IntVector * | values |
a data structure to represent constraint reference elements in a MatrixType object Each nonzero element is of the form x_{k} where k is the index of a constraint
Definition at line 718 of file OSMatrix.h.
ConReferenceMatrixElements::ConReferenceMatrixElements | ( | ) |
ConReferenceMatrixElements::~ConReferenceMatrixElements | ( | ) |
bool ConReferenceMatrixElements::IsEqual | ( | ConReferenceMatrixElements * | that | ) |
A function to check for the equality of two objects.
bool ConReferenceMatrixElements::setRandom | ( | double | density, |
bool | conformant, | ||
int | iMin, | ||
int | iMax | ||
) |
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 |
bool ConReferenceMatrixElements::deepCopyFrom | ( | ConReferenceMatrixElements * | that | ) |
A function to make a deep copy of an instance of this class.
that | the instance from which information is to be copied |
int ConReferenceMatrixElements::numberOfValues |
numberOfValues records the number of entries in the arrays that make up the instance of nonzeros
Definition at line 725 of file OSMatrix.h.
bool ConReferenceMatrixElements::rowMajor |
To indicate whether the conReference matrix elements are stored in row major form or column major form.
Definition at line 731 of file OSMatrix.h.
IntVector* ConReferenceMatrixElements::start |
A vector listing the row or column starts.
Definition at line 736 of file OSMatrix.h.
IntVector* ConReferenceMatrixElements::indexes |
The row (or column) indices and constraint references of the elements.
Definition at line 739 of file OSMatrix.h.
IntVector* ConReferenceMatrixElements::values |
Definition at line 740 of file OSMatrix.h.