OS  2.9.3
Public Member Functions | Public Attributes | List of all members
ObjectiveSolution Class Reference

The ObjectiveSolution Class. More...

#include <OSResult.h>

+ Collaboration diagram for ObjectiveSolution:

Public Member Functions

 ObjectiveSolution ()
 Default constructor. More...
 
 ~ObjectiveSolution ()
 Class destructor. More...
 
bool IsEqual (ObjectiveSolution *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 numberOfOtherObjectiveResults
 the number of types of objective function results other than the basic objective function values More...
 
ObjectiveValuesvalues
 a pointer to an array of ObjectiveValues objects More...
 
BasisStatusbasisStatus
 a pointer to a BasisStatus object More...
 
OtherObjectiveResult ** other
 a pointer to an array of other pointer objects for objective functions More...
 

Detailed Description

The ObjectiveSolution 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 objective functions.

Definition at line 1523 of file OSResult.h.

Constructor & Destructor Documentation

ObjectiveSolution::ObjectiveSolution ( )

Default constructor.

ObjectiveSolution::~ObjectiveSolution ( )

Class destructor.

Member Function Documentation

bool ObjectiveSolution::IsEqual ( ObjectiveSolution that)

A function to check for the equality of two objects.

bool ObjectiveSolution::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

int ObjectiveSolution::numberOfOtherObjectiveResults

the number of types of objective function results other than the basic objective function values

Definition at line 1530 of file OSResult.h.

ObjectiveValues* ObjectiveSolution::values

a pointer to an array of ObjectiveValues objects

Definition at line 1533 of file OSResult.h.

BasisStatus* ObjectiveSolution::basisStatus

a pointer to a BasisStatus object

Definition at line 1536 of file OSResult.h.

OtherObjectiveResult** ObjectiveSolution::other

a pointer to an array of other pointer objects for objective functions

Definition at line 1541 of file OSResult.h.


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