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

The OtherObjectiveResult Class. More...

#include <OSResult.h>

+ Collaboration diagram for OtherObjectiveResult:

Public Member Functions

 OtherObjectiveResult ()
 Default constructor. More...
 
 ~OtherObjectiveResult ()
 Class destructor. More...
 
bool IsEqual (OtherObjectiveResult *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 numberOfObj
 the number of objectives which have values for this particular type of result More...
 
int numberOfEnumerations
 the number of distinct values for this particular type of result More...
 
std::string name
 the name of the result the user is defining More...
 
std::string value
 this element allows a specific value associated with this particular type of result More...
 
std::string type
 type of the result value (integer, double, boolean, string) More...
 
std::string description
 a brief description of the type of result More...
 
OtherObjResult ** obj
 
std::string objType
 type of the values in the obj array More...
 
OtherOptionEnumeration ** enumeration
 
std::string enumType
 type of the values in the enumeration array More...
 

Detailed Description

The OtherObjectiveResult Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class that allows the solver to report an arbitrary result associated with objective functions

Definition at line 1435 of file OSResult.h.

Constructor & Destructor Documentation

OtherObjectiveResult::OtherObjectiveResult ( )

Default constructor.

OtherObjectiveResult::~OtherObjectiveResult ( )

Class destructor.

Member Function Documentation

bool OtherObjectiveResult::IsEqual ( OtherObjectiveResult that)

A function to check for the equality of two objects.

bool OtherObjectiveResult::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 OtherObjectiveResult::numberOfObj

the number of objectives which have values for this particular type of result

Definition at line 1442 of file OSResult.h.

int OtherObjectiveResult::numberOfEnumerations

the number of distinct values for this particular type of result

Definition at line 1447 of file OSResult.h.

std::string OtherObjectiveResult::name

the name of the result the user is defining

Definition at line 1450 of file OSResult.h.

std::string OtherObjectiveResult::value

this element allows a specific value associated with this particular type of result

Definition at line 1455 of file OSResult.h.

std::string OtherObjectiveResult::type

type of the result value (integer, double, boolean, string)

Definition at line 1458 of file OSResult.h.

std::string OtherObjectiveResult::description

a brief description of the type of result

Definition at line 1461 of file OSResult.h.

OtherObjResult** OtherObjectiveResult::obj

Definition at line 1467 of file OSResult.h.

std::string OtherObjectiveResult::objType

type of the values in the obj array

Definition at line 1470 of file OSResult.h.

OtherOptionEnumeration** OtherObjectiveResult::enumeration

Definition at line 1476 of file OSResult.h.

std::string OtherObjectiveResult::enumType

type of the values in the enumeration array

Definition at line 1479 of file OSResult.h.


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