#include <OSResult.h>
Public Member Functions | |
ObjValue () | |
Default constructor. More... | |
~ObjValue () | |
Class destructor. More... | |
bool | IsEqual (ObjValue *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... | |
ObjValue () | |
Default constructor. More... | |
~ObjValue () | |
Class destructor. More... | |
Public Attributes | |
int | idx |
idx is the index on an objective function More... | |
std::string | name |
optional name More... | |
double | value |
the value of the objective indexed by idx More... | |
The ObjValue Class.
Definition at line 1281 of file OSResult.h.
ObjValue::ObjValue | ( | ) |
Default constructor.
Definition at line 618 of file OSResult.cpp.
ObjValue::~ObjValue | ( | ) |
Class destructor.
Definition at line 629 of file OSResult.cpp.
ObjValue::ObjValue | ( | ) |
Default constructor.
ObjValue::~ObjValue | ( | ) |
Class destructor.
bool ObjValue::IsEqual | ( | ObjValue * | that | ) |
A function to check for the equality of two objects.
Definition at line 8925 of file OSResult.cpp.
bool ObjValue::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 10469 of file OSResult.cpp.
int ObjValue::idx |
idx is the index on an objective function
Definition at line 1286 of file OSResult.h.
std::string ObjValue::name |
optional name
Definition at line 1289 of file OSResult.h.
double ObjValue::value |
the value of the objective indexed by idx
Definition at line 1292 of file OSResult.h.