My Project
MatrixProgramming Class Reference

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

#include <OSInstance.h>

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

The MatrixProgramming class constructor.

Definition at line 1305 of file OSInstance.cpp.

◆ ~MatrixProgramming()

MatrixProgramming::~MatrixProgramming ( )

The MatrixProgramming class destructor.

Definition at line 1316 of file OSInstance.cpp.

Member Function Documentation

◆ IsEqual()

bool MatrixProgramming::IsEqual ( MatrixProgramming * that)

A function to check for the equality of two objects.

Definition at line 9094 of file OSInstance.cpp.

◆ setRandom()

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

A function to make a random instance of this class.

Parameters
densitycorresponds to the probability that a particular child element is created
conformantif true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)
iMinlowest index value (inclusive) that a variable reference in this matrix can take
iMaxgreatest index value (inclusive) that a variable reference in this matrix can take

◆ deepCopyFrom()

bool MatrixProgramming::deepCopyFrom ( MatrixProgramming * that)

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

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

Member Data Documentation

◆ matrixVariables

MatrixVariables* MatrixProgramming::matrixVariables

a pointer to the matrixVariables object

Definition at line 1892 of file OSInstance.h.

◆ matrixObjectives

MatrixObjectives* MatrixProgramming::matrixObjectives

a pointer to the matrixObjectives object

Definition at line 1895 of file OSInstance.h.

◆ matrixConstraints

MatrixConstraints* MatrixProgramming::matrixConstraints

a pointer to the matrixConstraints object

Definition at line 1898 of file OSInstance.h.

◆ matrixExpressions

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: