OS
2.9.3
|
a data structure to represent variable reference elements in a MatrixType object Each nonzero element is of the form x_{k} where k is the index of a variable More...
#include <OSMatrix.h>
Public Member Functions | |
VarReferenceMatrixElements () | |
~VarReferenceMatrixElements () | |
bool | IsEqual (VarReferenceMatrixElements *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 (VarReferenceMatrixElements *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 varReference 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 variable references of the elements. More... | |
IntVector * | values |
a data structure to represent variable reference elements in a MatrixType object Each nonzero element is of the form x_{k} where k is the index of a variable
Definition at line 282 of file OSMatrix.h.
VarReferenceMatrixElements::VarReferenceMatrixElements | ( | ) |
VarReferenceMatrixElements::~VarReferenceMatrixElements | ( | ) |
bool VarReferenceMatrixElements::IsEqual | ( | VarReferenceMatrixElements * | that | ) |
A function to check for the equality of two objects.
bool VarReferenceMatrixElements::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 VarReferenceMatrixElements::deepCopyFrom | ( | VarReferenceMatrixElements * | 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 VarReferenceMatrixElements::numberOfValues |
numberOfValues records the number of entries in the arrays that make up the instance of nonzeros
Definition at line 289 of file OSMatrix.h.
bool VarReferenceMatrixElements::rowMajor |
To indicate whether the varReference matrix elements are stored in row major form or column major form.
Definition at line 295 of file OSMatrix.h.
IntVector* VarReferenceMatrixElements::start |
A vector listing the row or column starts.
Definition at line 300 of file OSMatrix.h.
IntVector* VarReferenceMatrixElements::indexes |
The row (or column) indices and variable references of the elements.
Definition at line 303 of file OSMatrix.h.
IntVector* VarReferenceMatrixElements::values |
Definition at line 304 of file OSMatrix.h.