My Project
MatrixProgrammingSolution Class Reference

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

#include <OSResult.h>

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

The MatrixProgramming class constructor.

Definition at line 1123 of file OSResult.cpp.

◆ ~MatrixProgrammingSolution()

MatrixProgrammingSolution::~MatrixProgrammingSolution ( )

The MatrixProgramming class destructor.

Definition at line 1136 of file OSResult.cpp.

Member Function Documentation

◆ IsEqual()

bool MatrixProgrammingSolution::IsEqual ( MatrixProgrammingSolution * that)

A function to check for the equality of two objects.

◆ setRandom()

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

◆ numberOfOtherMatrixProgrammingResults

int MatrixProgrammingSolution::numberOfOtherMatrixProgrammingResults

the number of <other> child elements>

Definition at line 2079 of file OSResult.h.

◆ other

OtherSolutionResult** MatrixProgrammingSolution::other

a pointer to the array of <other> children

Definition at line 2082 of file OSResult.h.

◆ matrixVariables

MatrixVariableSolution* MatrixProgrammingSolution::matrixVariables

a pointer to the matrixVariables object

Definition at line 2085 of file OSResult.h.

◆ matrixObjectives

MatrixObjectiveSolution* MatrixProgrammingSolution::matrixObjectives

a pointer to the matrixObjectives object

Definition at line 2088 of file OSResult.h.

◆ matrixConstraints

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: