The ObjectiveValues Class. More...
#include <OSResult.h>
Public Member Functions | |
ObjectiveValues () | |
Default constructor. More... | |
~ObjectiveValues () | |
Class destructor. More... | |
bool | IsEqual (ObjectiveValues *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... | |
ObjectiveValues () | |
Default constructor. More... | |
~ObjectiveValues () | |
Class destructor. More... | |
Public Attributes | |
int | numberOfObj |
record the number of objective rows for which values are given More... | |
ObjValue ** | obj |
obj is a pointer to an array of ObjValue objects that give an index and objective function value for each objective function. More... | |
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. More... | |
The ObjectiveValues Class.
Definition at line 1332 of file OSResult.h.
ObjectiveValues::ObjectiveValues | ( | ) |
Default constructor.
Definition at line 638 of file OSResult.cpp.
ObjectiveValues::~ObjectiveValues | ( | ) |
Class destructor.
Definition at line 649 of file OSResult.cpp.
ObjectiveValues::ObjectiveValues | ( | ) |
Default constructor.
ObjectiveValues::~ObjectiveValues | ( | ) |
Class destructor.
bool ObjectiveValues::IsEqual | ( | ObjectiveValues * | that | ) |
A function to check for the equality of two objects.
Definition at line 8870 of file OSResult.cpp.
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" attributes and <XXX> children) |
Definition at line 10445 of file OSResult.cpp.
int ObjectiveValues::numberOfObj |
record the number of objective rows for which values are given
Definition at line 1338 of file OSResult.h.
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 1344 of file OSResult.h.
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.