#include <OSResult.h>
Collaboration diagram for OtherObjResult:
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 |
Definition at line 1372 of file OSResult.h.
OtherObjResult::OtherObjResult | ( | ) |
OtherObjResult::~OtherObjResult | ( | ) |
OtherObjResult::OtherObjResult | ( | ) |
Default constructor.
OtherObjResult::~OtherObjResult | ( | ) |
Class destructor.
bool OtherObjResult::IsEqual | ( | OtherObjResult * | that | ) |
bool OtherObjResult::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 8760 of file OSResult.cpp.
References OSRand().
Referenced by OtherObjectiveResult::setRandom().
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().