OS
2.9.3
|
The OptimizationResult Class. More...
#include <OSResult.h>
Public Member Functions | |
OptimizationResult () | |
Default constructor. More... | |
~OptimizationResult () | |
Class destructor. More... | |
bool | IsEqual (OptimizationResult *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... | |
Public Attributes | |
int | numberOfSolutions |
numberOfSolutions is the number of objective functions reported. More... | |
int | numberOfVariables |
numberOfVariables is the number of variables reported in the solution. More... | |
int | numberOfObjectives |
numberOfObjectives is the number of objective functions reported in the solution. More... | |
int | numberOfConstraints |
numberOfConstrants is the number of constraint functions reported in the solution. More... | |
OptimizationSolution ** | solution |
solution is an array of pointers to OptimizationSolution objects More... | |
OtherSolverOutput * | otherSolverOutput |
otherSolverOutput is a pointer to an OtherSolverOutput object More... | |
The OptimizationResult Class.
Definition at line 2237 of file OSResult.h.
OptimizationResult::OptimizationResult | ( | ) |
Default constructor.
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
bool OptimizationResult::IsEqual | ( | OptimizationResult * | that | ) |
A function to check for the equality of two objects.
bool OptimizationResult::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) |
int OptimizationResult::numberOfSolutions |
numberOfSolutions is the number of objective functions reported.
Definition at line 2244 of file OSResult.h.
int OptimizationResult::numberOfVariables |
numberOfVariables is the number of variables reported in the solution.
Definition at line 2249 of file OSResult.h.
int OptimizationResult::numberOfObjectives |
numberOfObjectives is the number of objective functions reported in the solution.
Definition at line 2254 of file OSResult.h.
int OptimizationResult::numberOfConstraints |
numberOfConstrants is the number of constraint functions reported in the solution.
Definition at line 2259 of file OSResult.h.
OptimizationSolution** OptimizationResult::solution |
solution is an array of pointers to OptimizationSolution objects
Definition at line 2264 of file OSResult.h.
OtherSolverOutput* OptimizationResult::otherSolverOutput |
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition at line 2269 of file OSResult.h.