OtherObjResult Class Reference

The OtherObjResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherObjResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

int idx
 idx is the index on a objective function
std::string name
 optional name
std::string value
 value is a value associated with an objective function indexed by idx

Detailed Description

The OtherObjResult Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that provides general result information for objective functions.

Definition at line 1372 of file OSResult.h.


Constructor & Destructor Documentation

OtherObjResult::OtherObjResult (  ) 

Default constructor.

Definition at line 671 of file OSResult.cpp.

OtherObjResult::~OtherObjResult (  ) 

Class destructor.

Definition at line 682 of file OSResult.cpp.

OtherObjResult::OtherObjResult (  ) 

Default constructor.

OtherObjResult::~OtherObjResult (  ) 

Class destructor.


Member Function Documentation

bool OtherObjResult::IsEqual ( OtherObjResult that  ) 

A function to check for the equality of two objects.

Definition at line 7359 of file OSResult.cpp.

References idx, name, and value.

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

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" atrbutes and <XXX> children)

Definition at line 8762 of file OSResult.cpp.

References OSRand().

Referenced by OtherObjectiveResult::setRandom().


Member Data Documentation

int OtherObjResult::idx

idx is the index on a objective function

Definition at line 1377 of file OSResult.h.

Referenced by OSResult::getOtherObjectiveResultObjIdx(), IsEqual(), and OSResult::setOtherObjectiveResultObjIdx().

std::string OtherObjResult::name

optional name

Definition at line 1380 of file OSResult.h.

Referenced by IsEqual(), and OSResult::setOtherObjectiveResultObjName().

std::string OtherObjResult::value

value is a value associated with an objective function indexed by idx

Definition at line 1385 of file OSResult.h.

Referenced by OSResult::getOtherObjectiveResultObj(), IsEqual(), and OSResult::setOtherObjectiveResultObj().


The documentation for this class was generated from the following files:
Generated on Thu Nov 10 03:13:07 2011 by  doxygen 1.4.7