OS  2.10.2
Public Member Functions | Public Attributes | List of all members
VariableSolution Class Reference

The VariableSolution Class. More...

#include <OSResult.h>

+ Collaboration diagram for VariableSolution:

Public Member Functions

 VariableSolution ()
 Default constructor. More...
 
 ~VariableSolution ()
 Class destructor. More...
 
bool IsEqual (VariableSolution *that)
 A function to check for the equality of two objects. More...
 
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class. More...
 

Public Attributes

int numberOfOtherVariableResults
 the number of types of variable results other than the value of the variable More...
 
VariableValuesvalues
 a pointer to a VariableValues object More...
 
VariableValuesStringvaluesString
 a pointer to a VariableValuesString object More...
 
BasisStatusbasisStatus
 a pointer to a BasisStatus object More...
 
OtherVariableResult ** other
 a pointer to an array of other pointer objects for variables More...
 

Detailed Description

The VariableSolution Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class for reporting all of the types of solution values associated with variables.

Definition at line 1217 of file OSResult.h.

Constructor & Destructor Documentation

◆ VariableSolution()

VariableSolution::VariableSolution ( )

Default constructor.

◆ ~VariableSolution()

VariableSolution::~VariableSolution ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool VariableSolution::IsEqual ( VariableSolution that)

A function to check for the equality of two objects.

◆ setRandom()

bool VariableSolution::setRandom ( double  density,
bool  conformant 
)

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)

Member Data Documentation

◆ numberOfOtherVariableResults

int VariableSolution::numberOfOtherVariableResults

the number of types of variable results other than the value of the variable

Definition at line 1224 of file OSResult.h.

◆ values

VariableValues* VariableSolution::values

a pointer to a VariableValues object

Definition at line 1227 of file OSResult.h.

◆ valuesString

VariableValuesString* VariableSolution::valuesString

a pointer to a VariableValuesString object

Definition at line 1230 of file OSResult.h.

◆ basisStatus

BasisStatus* VariableSolution::basisStatus

a pointer to a BasisStatus object

Definition at line 1233 of file OSResult.h.

◆ other

OtherVariableResult** VariableSolution::other

a pointer to an array of other pointer objects for variables

Definition at line 1238 of file OSResult.h.


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