#include <OSResult.h>
Collaboration diagram for ObjectiveValues:
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. |
Definition at line 1282 of file OSResult.h.
ObjectiveValues::ObjectiveValues | ( | ) |
ObjectiveValues::~ObjectiveValues | ( | ) |
ObjectiveValues::ObjectiveValues | ( | ) |
Default constructor.
ObjectiveValues::~ObjectiveValues | ( | ) |
Class destructor.
bool ObjectiveValues::IsEqual | ( | ObjectiveValues * | that | ) |
bool ObjectiveValues::setRandom | ( | double | density, | |
bool | conformant | |||
) |
A function to make a random instance of this class.
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 7988 of file OSResult.cpp.
References obj, and ObjValue::setRandom().
record the number of objective rows for which values are given
Definition at line 1287 of file OSResult.h.
Referenced by OSResult::setObjectiveValues(), and ~ObjectiveValues().
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 1293 of file OSResult.h.
Referenced by main(), OSResult::setObjectiveValues(), 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.