#include <OSResult.h>
Collaboration diagram for OtherSolutionResults:
Public Member Functions | |
OtherSolutionResults () | |
Default constructor. | |
~OtherSolutionResults () | |
Class destructor. | |
bool | IsEqual (OtherSolutionResults *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. | |
Public Attributes | |
int | numberOfOtherSolutionResults |
the number of elements in the pointer of OtherSolutionResult objects | |
OtherSolutionResult ** | otherSolutionResult |
otherSolutionResult is a pointer to an array of OtherSolutionResult objects |
Definition at line 1946 of file OSResult.h.
OtherSolutionResults::OtherSolutionResults | ( | ) |
OtherSolutionResults::~OtherSolutionResults | ( | ) |
Class destructor.
Definition at line 969 of file OSResult.cpp.
References numberOfOtherSolutionResults, and otherSolutionResult.
bool OtherSolutionResults::IsEqual | ( | OtherSolutionResults * | that | ) |
A function to check for the equality of two objects.
Definition at line 7683 of file OSResult.cpp.
References numberOfOtherSolutionResults, and otherSolutionResult.
bool OtherSolutionResults::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 8919 of file OSResult.cpp.
References n, numberOfOtherSolutionResults, OSRand(), otherSolutionResult, and OtherSolutionResult::setRandom().
Referenced by OptimizationSolution::setRandom().
the number of elements in the pointer of OtherSolutionResult objects
Definition at line 1951 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherSolutionResults(), OSResult::getOtherSolutionResultCategory(), OSResult::getOtherSolutionResultDescription(), OSResult::getOtherSolutionResultItem(), OSResult::getOtherSolutionResultName(), OSResult::getOtherSolutionResultNumberOfItems(), IsEqual(), OSResult::setNumberOfOtherSolutionResults(), setRandom(), and ~OtherSolutionResults().
otherSolutionResult is a pointer to an array of OtherSolutionResult objects
Definition at line 1956 of file OSResult.h.
Referenced by OSResult::getOtherSolutionResultCategory(), OSResult::getOtherSolutionResultDescription(), OSResult::getOtherSolutionResultItem(), OSResult::getOtherSolutionResultName(), OSResult::getOtherSolutionResultNumberOfItems(), IsEqual(), OSResult::setNumberOfOtherSolutionResults(), OSResult::setOtherSolutionResultCategory(), OSResult::setOtherSolutionResultDescription(), OSResult::setOtherSolutionResultItem(), OSResult::setOtherSolutionResultName(), OSResult::setOtherSolutionResultNumberOfItems(), setRandom(), and ~OtherSolutionResults().