The OptimizationResult Class. More...
#include <OSResult.h>
Public Member Functions | |
OptimizationResult () | |
Default constructor. | |
~OptimizationResult () | |
Class destructor. | |
bool | IsEqual (OptimizationResult *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. | |
OptimizationResult () | |
Default constructor. | |
~OptimizationResult () | |
Class destructor. | |
Public Attributes | |
int | numberOfSolutions |
numberOfSolutions is the number of objective functions reported. | |
int | numberOfVariables |
numberOfVariables is the number of variables reported in the solution. | |
int | numberOfObjectives |
numberOfObjectives is the number of objective functions reported in the solution. | |
int | numberOfConstraints |
numberOfConstrants is the number of constraint functions reported in the solution. | |
OptimizationSolution ** | solution |
solution is an array of pointers to OptimizationSolution objects | |
OtherSolverOutput * | otherSolverOutput |
otherSolverOutput is a pointer to an OtherSolverOutput object |
The OptimizationResult Class.
Definition at line 2204 of file OSResult.h.
OptimizationResult::OptimizationResult | ( | ) |
Default constructor.
Definition at line 1100 of file OSResult.cpp.
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
Definition at line 1114 of file OSResult.cpp.
OptimizationResult::OptimizationResult | ( | ) |
Default constructor.
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
bool OptimizationResult::IsEqual | ( | OptimizationResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 6502 of file OSResult.cpp.
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" atrbutes and <XXX> children) |
Definition at line 8311 of file OSResult.cpp.
numberOfSolutions is the number of objective functions reported.
numberOfSolubitons is the number of objective functions reported.
Definition at line 2211 of file OSResult.h.
numberOfVariables is the number of variables reported in the solution.
Definition at line 2216 of file OSResult.h.
numberOfObjectives is the number of objective functions reported in the solution.
Definition at line 2221 of file OSResult.h.
numberOfConstrants is the number of constraint functions reported in the solution.
Definition at line 2226 of file OSResult.h.
solution is an array of pointers to OptimizationSolution objects
Definition at line 2231 of file OSResult.h.
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition at line 2236 of file OSResult.h.