Public Member Functions | Public Attributes | List of all members
MatrixProgramming Class Reference

The in-memory representation of the <matrixProgramming> element. More...

#include <OSInstance.h>

Collaboration diagram for MatrixProgramming:
Collaboration graph
[legend]

Public Member Functions

 MatrixProgramming ()
 The MatrixProgramming class constructor. More...
 
 ~MatrixProgramming ()
 The MatrixProgramming class destructor. More...
 
bool IsEqual (MatrixProgramming *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 (MatrixProgramming *that)
 A function to make a deep copy of an instance of this class. More...
 

Public Attributes

MatrixVariablesmatrixVariables
 a pointer to the matrixVariables object More...
 
MatrixObjectivesmatrixObjectives
 a pointer to the matrixObjectives object More...
 
MatrixConstraintsmatrixConstraints
 a pointer to the matrixConstraints object More...
 
MatrixExpressionsmatrixExpressions
 a pointer to the matrixExpressions object More...
 

Detailed Description

The in-memory representation of the <matrixProgramming> element.

Definition at line 1882 of file OSInstance.h.

Constructor & Destructor Documentation

MatrixProgramming::MatrixProgramming ( )

The MatrixProgramming class constructor.

Definition at line 1305 of file OSInstance.cpp.

MatrixProgramming::~MatrixProgramming ( )

The MatrixProgramming class destructor.

Definition at line 1316 of file OSInstance.cpp.

Member Function Documentation

bool MatrixProgramming::IsEqual ( MatrixProgramming that)

A function to check for the equality of two objects.

Definition at line 9094 of file OSInstance.cpp.

bool MatrixProgramming::setRandom ( double  density,
bool  conformant,
int  iMin,
int  iMax 
)

A function to make a random instance of this class.

Parameters
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 MatrixProgramming::deepCopyFrom ( MatrixProgramming that)

A function to make a deep copy of an instance of this class.

Parameters
that,:the instance from which information is to be copied
Returns
whether the copy was created successfully

Member Data Documentation

MatrixVariables* MatrixProgramming::matrixVariables

a pointer to the matrixVariables object

Definition at line 1892 of file OSInstance.h.

MatrixObjectives* MatrixProgramming::matrixObjectives

a pointer to the matrixObjectives object

Definition at line 1895 of file OSInstance.h.

MatrixConstraints* MatrixProgramming::matrixConstraints

a pointer to the matrixConstraints object

Definition at line 1898 of file OSInstance.h.

MatrixExpressions* MatrixProgramming::matrixExpressions

a pointer to the matrixExpressions object

Definition at line 1901 of file OSInstance.h.


The documentation for this class was generated from the following files: