#include <OSResult.h>
Collaboration diagram for OtherObjectiveResult:
Public Member Functions | |
OtherObjectiveResult () | |
Default constructor. | |
~OtherObjectiveResult () | |
Class destructor. | |
bool | IsEqual (OtherObjectiveResult *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. | |
OtherObjectiveResult () | |
Default constructor. | |
~OtherObjectiveResult () | |
Class destructor. | |
Public Attributes | |
int | numberOfObj |
the number of objectives which have values for this particular type of result | |
int | numberOfEnumerations |
the number of distinct values for this particular type of result | |
std::string | name |
the name of the result the user is defining | |
std::string | value |
this element allows a specific value associated with this particular type of result | |
std::string | description |
a brief description of the type of result | |
OtherObjResult ** | obj |
OtherOptionEnumeration ** | enumeration |
std::vector< OtherObjResult * > | obj |
Definition at line 1428 of file OSResult.h.
OtherObjectiveResult::OtherObjectiveResult | ( | ) |
OtherObjectiveResult::~OtherObjectiveResult | ( | ) |
Class destructor.
Definition at line 705 of file OSResult.cpp.
References enumeration, numberOfEnumerations, numberOfObj, and obj.
OtherObjectiveResult::OtherObjectiveResult | ( | ) |
Default constructor.
OtherObjectiveResult::~OtherObjectiveResult | ( | ) |
Class destructor.
bool OtherObjectiveResult::IsEqual | ( | OtherObjectiveResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 7282 of file OSResult.cpp.
References description, enumeration, name, numberOfEnumerations, numberOfObj, obj, and value.
bool OtherObjectiveResult::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 8709 of file OSResult.cpp.
References enumeration, n, numberOfEnumerations, numberOfObj, obj, OSRand(), OtherOptionEnumeration::setRandom(), and OtherObjResult::setRandom().
Referenced by ObjectiveSolution::setRandom().
the number of objectives which have values for this particular type of result
Definition at line 1435 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultNumberOfObj(), OSResult::getOtherObjectiveResultObj(), OSResult::getOtherObjectiveResultObjIdx(), IsEqual(), OSResult::setOtherObjectiveResultNumberOfObj(), setRandom(), and ~OtherObjectiveResult().
the number of distinct values for this particular type of result
Definition at line 1440 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultEnumerationDescription(), OSResult::getOtherObjectiveResultEnumerationEl(), OSResult::getOtherObjectiveResultEnumerationNumberOfEl(), OSResult::getOtherObjectiveResultEnumerationValue(), OSResult::getOtherObjectiveResultNumberOfEnumerations(), IsEqual(), OSResult::setOtherObjectiveResultNumberOfEnumerations(), OSResult::setOtherOptionEnumeration(), setRandom(), tempPrintArrays(), and ~OtherObjectiveResult().
std::string OtherObjectiveResult::name |
the name of the result the user is defining
Definition at line 1443 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultName(), IsEqual(), and OSResult::setOtherObjectiveResultName().
std::string OtherObjectiveResult::value |
this element allows a specific value associated with this particular type of result
Definition at line 1448 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultValue(), IsEqual(), and OSResult::setOtherObjectiveResultValue().
std::string OtherObjectiveResult::description |
a brief description of the type of result
Definition at line 1451 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultDescription(), IsEqual(), and OSResult::setOtherObjectiveResultDescription().
Definition at line 1457 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultObj(), OSResult::getOtherObjectiveResultObjIdx(), IsEqual(), OSResult::setOtherObjectiveResultNumberOfObj(), OSResult::setOtherObjectiveResultObj(), OSResult::setOtherObjectiveResultObjIdx(), OSResult::setOtherObjectiveResultObjName(), setRandom(), and ~OtherObjectiveResult().
Definition at line 1463 of file OSResult.h.
Referenced by OSResult::getOtherObjectiveResultEnumerationDescription(), OSResult::getOtherObjectiveResultEnumerationEl(), OSResult::getOtherObjectiveResultEnumerationNumberOfEl(), OSResult::getOtherObjectiveResultEnumerationValue(), IsEqual(), OSResult::setOtherObjectiveResultNumberOfEnumerations(), OSResult::setOtherOptionEnumeration(), setRandom(), tempPrintArrays(), and ~OtherObjectiveResult().
std::vector<OtherObjResult*> OtherObjectiveResult::obj |
Definition at line 840 of file OSResult.h.