ObjectiveValues Class Reference

The ObjectiveValues Class. More...

#include <OSResult.h>

Collaboration diagram for ObjectiveValues:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ObjectiveValues ()
 Default constructor.
 ~ObjectiveValues ()
 Class destructor.
bool IsEqual (ObjectiveValues *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.
 ObjectiveValues ()
 Default constructor.
 ~ObjectiveValues ()
 Class destructor.

Public Attributes

int numberOfObj
 record the number of objective rows for which values are given
ObjValue ** obj
 obj is a pointer to an array of ObjValue objects that give an index and objective function value for each objective function.
std::vector< ObjValue * > obj
 obj is a pointer to an array of ObjValue objects that give an index and objective function value for each objective function.

Detailed Description

The ObjectiveValues 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 objective function values

Definition at line 1317 of file OSResult.h.


Constructor & Destructor Documentation

ObjectiveValues::ObjectiveValues (  ) 

Default constructor.

Definition at line 642 of file OSResult.cpp.

ObjectiveValues::~ObjectiveValues (  ) 

Class destructor.

Definition at line 653 of file OSResult.cpp.

References numberOfObj, and obj.

ObjectiveValues::ObjectiveValues (  ) 

Default constructor.

ObjectiveValues::~ObjectiveValues (  ) 

Class destructor.


Member Function Documentation

bool ObjectiveValues::IsEqual ( ObjectiveValues that  ) 

A function to check for the equality of two objects.

Definition at line 7184 of file OSResult.cpp.

References numberOfObj, and obj.

bool ObjectiveValues::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 8670 of file OSResult.cpp.

References n, numberOfObj, obj, OSRand(), and ObjValue::setRandom().

Referenced by ObjectiveSolution::setRandom().


Member Data Documentation

int ObjectiveValues::numberOfObj

record the number of objective rows for which values are given

Definition at line 1323 of file OSResult.h.

Referenced by OSResult::getNumberOfObjValues(), OSResult::getObjValue(), OSResult::getObjValueIdx(), OSResult::getObjValueName(), IsEqual(), OSResult::setNumberOfObjectiveValues(), OSResult::setNumberOfObjValues(), OSResult::setObjectiveValues(), OSResult::setObjectiveValuesDense(), OSResult::setObjectiveValuesSparse(), OSResult::setObjValue(), setRandom(), and ~ObjectiveValues().

ObjValue** ObjectiveValues::obj

obj is a pointer to an array of ObjValue objects that give an index and objective function value for each objective function.

Definition at line 1329 of file OSResult.h.

Referenced by OSResult::getObjValue(), OSResult::getObjValueIdx(), OSResult::getObjValueName(), IsEqual(), main(), OSResult::setNumberOfObjValues(), OSResult::setObjectiveValues(), OSResult::setObjectiveValuesDense(), OSResult::setObjectiveValuesSparse(), OSResult::setObjValue(), setRandom(), and ~ObjectiveValues().

std::vector<ObjValue*> ObjectiveValues::obj

obj is a pointer to an array of ObjValue objects that give an index and objective function value for each objective function.

Definition at line 748 of file OSResult.h.


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