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

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

#include <OSResult.h>

Collaboration diagram for MatrixProgrammingSolution:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

int numberOfOtherMatrixProgrammingResults
 the number of <other> child elements> More...
 
OtherSolutionResult ** other
 a pointer to the array of <other> children More...
 
MatrixVariableSolutionmatrixVariables
 a pointer to the matrixVariables object More...
 
MatrixObjectiveSolutionmatrixObjectives
 a pointer to the matrixObjectives object More...
 
MatrixConstraintSolutionmatrixConstraints
 a pointer to the matrixConstraints object More...
 

Detailed Description

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

Definition at line 2075 of file OSResult.h.

Constructor & Destructor Documentation

MatrixProgrammingSolution::MatrixProgrammingSolution ( )

The MatrixProgramming class constructor.

Definition at line 1123 of file OSResult.cpp.

MatrixProgrammingSolution::~MatrixProgrammingSolution ( )

The MatrixProgramming class destructor.

Definition at line 1136 of file OSResult.cpp.

Member Function Documentation

bool MatrixProgrammingSolution::IsEqual ( MatrixProgrammingSolution that)

A function to check for the equality of two objects.

bool MatrixProgrammingSolution::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 MatrixProgrammingSolution::deepCopyFrom ( MatrixProgrammingSolution 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

int MatrixProgrammingSolution::numberOfOtherMatrixProgrammingResults

the number of <other> child elements>

Definition at line 2079 of file OSResult.h.

OtherSolutionResult** MatrixProgrammingSolution::other

a pointer to the array of <other> children

Definition at line 2082 of file OSResult.h.

MatrixVariableSolution* MatrixProgrammingSolution::matrixVariables

a pointer to the matrixVariables object

Definition at line 2085 of file OSResult.h.

MatrixObjectiveSolution* MatrixProgrammingSolution::matrixObjectives

a pointer to the matrixObjectives object

Definition at line 2088 of file OSResult.h.

MatrixConstraintSolution* MatrixProgrammingSolution::matrixConstraints

a pointer to the matrixConstraints object

Definition at line 2091 of file OSResult.h.


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