MatrixProgramming Class Reference

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

#include <OSInstance.h>

Collaboration diagram for MatrixProgramming:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MatrixProgramming ()
 The MatrixProgramming class constructor.
 ~MatrixProgramming ()
 The MatrixProgramming class destructor.
bool IsEqual (MatrixProgramming *that)
 A function to check for the equality of two objects.
bool setRandom (double density, bool conformant, int iMin, int iMax)
 A function to make a random instance of this class.
bool deepCopyFrom (MatrixProgramming *that)
 A function to make a deep copy of an instance of this class.

Public Attributes

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

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 9092 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

a pointer to the matrixVariables object

Definition at line 1892 of file OSInstance.h.

a pointer to the matrixObjectives object

Definition at line 1895 of file OSInstance.h.

a pointer to the matrixConstraints object

Definition at line 1898 of file OSInstance.h.

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:

Generated on 5 Jul 2015 by  doxygen 1.6.1