#include <OSResult.h>
Collaboration diagram for ObjectiveSolution:
Public Member Functions | |
ObjectiveSolution () | |
Default constructor. | |
~ObjectiveSolution () | |
Class destructor. | |
bool | IsEqual (ObjectiveSolution *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. | |
ObjectiveSolution () | |
Default constructor. | |
~ObjectiveSolution () | |
Class destructor. | |
Public Attributes | |
int | numberOfOtherObjectiveResults |
the number of types of objective function results other than the basic objective function values | |
ObjectiveValues * | values |
a pointer to an array of ObjectiveValues objects | |
BasisStatus * | basisStatus |
a pointer to a BasisStatus object | |
OtherObjectiveResult ** | other |
a pointer to an array of other pointer objects for objective functions | |
ObjectiveValues * | values |
a pointer to an array of ObjectiveValues objects | |
OtherObjectiveResult ** | other |
a pointer to an array of other pointer objects for objective functions |
Definition at line 1507 of file OSResult.h.
ObjectiveSolution::ObjectiveSolution | ( | ) |
ObjectiveSolution::~ObjectiveSolution | ( | ) |
Class destructor.
Definition at line 745 of file OSResult.cpp.
References basisStatus, numberOfOtherObjectiveResults, other, and values.
ObjectiveSolution::ObjectiveSolution | ( | ) |
Default constructor.
ObjectiveSolution::~ObjectiveSolution | ( | ) |
Class destructor.
bool ObjectiveSolution::IsEqual | ( | ObjectiveSolution * | that | ) |
A function to check for the equality of two objects.
Definition at line 7128 of file OSResult.cpp.
References basisStatus, numberOfOtherObjectiveResults, other, and values.
bool ObjectiveSolution::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 8630 of file OSResult.cpp.
References basisStatus, n, numberOfOtherObjectiveResults, OSRand(), other, BasisStatus::setRandom(), ObjectiveValues::setRandom(), OtherObjectiveResult::setRandom(), and values.
Referenced by OptimizationSolution::setRandom().
the number of types of objective function results other than the basic objective function values
Definition at line 1514 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherObjectiveResults(), OSResult::getOtherObjectiveResultDescription(), OSResult::getOtherObjectiveResultEnumerationDescription(), OSResult::getOtherObjectiveResultEnumerationEl(), OSResult::getOtherObjectiveResultEnumerationNumberOfEl(), OSResult::getOtherObjectiveResultEnumerationValue(), OSResult::getOtherObjectiveResultName(), OSResult::getOtherObjectiveResultNumberOfEnumerations(), OSResult::getOtherObjectiveResultNumberOfObj(), OSResult::getOtherObjectiveResultObj(), OSResult::getOtherObjectiveResultObjIdx(), OSResult::getOtherObjectiveResultValue(), IsEqual(), OSResult::setNumberOfOtherObjectiveResults(), setRandom(), and ~ObjectiveSolution().
a pointer to an array of ObjectiveValues objects
Definition at line 1517 of file OSResult.h.
Referenced by OSResult::getNumberOfObjValues(), OSResult::getObjValue(), OSResult::getObjValueIdx(), OSResult::getObjValueName(), IsEqual(), main(), OSResult::setNumberOfObjectiveValues(), OSResult::setNumberOfObjValues(), OSResult::setObjectiveValues(), OSResult::setObjectiveValuesDense(), OSResult::setObjectiveValuesSparse(), OSResult::setObjValue(), setRandom(), and ~ObjectiveSolution().
a pointer to a BasisStatus object
Definition at line 1520 of file OSResult.h.
Referenced by OSResult::getBasisStatusEl(), OSResult::getBasisStatusNumberOfEl(), IsEqual(), OSResult::setBasisStatus(), setRandom(), tempPrintArrays(), and ~ObjectiveSolution().
a pointer to an array of other pointer objects for objective functions
Definition at line 1525 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherObjectiveResults(), OSResult::getOtherObjectiveResultDescription(), OSResult::getOtherObjectiveResultEnumerationDescription(), OSResult::getOtherObjectiveResultEnumerationEl(), OSResult::getOtherObjectiveResultEnumerationNumberOfEl(), OSResult::getOtherObjectiveResultEnumerationValue(), OSResult::getOtherObjectiveResultName(), OSResult::getOtherObjectiveResultNumberOfEnumerations(), OSResult::getOtherObjectiveResultNumberOfObj(), OSResult::getOtherObjectiveResultObj(), OSResult::getOtherObjectiveResultObjIdx(), OSResult::getOtherObjectiveResultValue(), IsEqual(), OSResult::setNumberOfOtherObjectiveResults(), OSResult::setOtherObjectiveResultDescription(), OSResult::setOtherObjectiveResultName(), OSResult::setOtherObjectiveResultNumberOfEnumerations(), OSResult::setOtherObjectiveResultNumberOfObj(), OSResult::setOtherObjectiveResultObj(), OSResult::setOtherObjectiveResultObjIdx(), OSResult::setOtherObjectiveResultObjName(), OSResult::setOtherObjectiveResultValue(), OSResult::setOtherOptionEnumeration(), setRandom(), tempPrintArrays(), and ~ObjectiveSolution().
a pointer to an array of other pointer objects for objective functions
Definition at line 884 of file OSResult.h.