MatrixProgrammingSolution Class Reference

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

#include <OSResult.h>

Collaboration diagram for MatrixProgrammingSolution:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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

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

the number of <other> child elements>

Definition at line 2079 of file OSResult.h.

a pointer to the array of <other> children

Definition at line 2082 of file OSResult.h.

a pointer to the matrixVariables object

Definition at line 2085 of file OSResult.h.

a pointer to the matrixObjectives object

Definition at line 2088 of file OSResult.h.

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:

Generated on 5 Jul 2015 by  doxygen 1.6.1