the OptimizationOption class. More...
#include <OSOption.h>
Public Member Functions | |
OptimizationOption () | |
Default constructor. More... | |
~OptimizationOption () | |
Class destructor. More... | |
bool | IsEqual (OptimizationOption *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... | |
bool | deepCopyFrom (OptimizationOption *that) |
A function to make a deep copy of an instance of this class. More... | |
Public Attributes | |
int | numberOfVariables |
the number of variables More... | |
int | numberOfObjectives |
the number of objectives More... | |
int | numberOfConstraints |
the number of constraints More... | |
VariableOption * | variables |
the options for the variables More... | |
ObjectiveOption * | objectives |
the options for the objectives More... | |
ConstraintOption * | constraints |
the options for the constraints More... | |
SolverOptions * | solverOptions |
other solver options More... | |
the OptimizationOption class.
Definition at line 3495 of file OSOption.h.
OptimizationOption::OptimizationOption | ( | ) |
Default constructor.
Definition at line 1232 of file OSOption.cpp.
OptimizationOption::~OptimizationOption | ( | ) |
Class destructor.
Definition at line 1246 of file OSOption.cpp.
bool OptimizationOption::IsEqual | ( | OptimizationOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 9898 of file OSOption.cpp.
bool OptimizationOption::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) |
Definition at line 12411 of file OSOption.cpp.
bool OptimizationOption::deepCopyFrom | ( | OptimizationOption * | that | ) |
A function to make a deep copy of an instance of this class.
that,: | the instance from which information is to be copied |
Definition at line 13540 of file OSOption.cpp.
int OptimizationOption::numberOfVariables |
the number of variables
Definition at line 3500 of file OSOption.h.
int OptimizationOption::numberOfObjectives |
the number of objectives
Definition at line 3503 of file OSOption.h.
int OptimizationOption::numberOfConstraints |
the number of constraints
Definition at line 3506 of file OSOption.h.
VariableOption* OptimizationOption::variables |
the options for the variables
Definition at line 3509 of file OSOption.h.
ObjectiveOption* OptimizationOption::objectives |
the options for the objectives
Definition at line 3512 of file OSOption.h.
ConstraintOption* OptimizationOption::constraints |
the options for the constraints
Definition at line 3515 of file OSOption.h.
SolverOptions* OptimizationOption::solverOptions |
other solver options
Definition at line 3518 of file OSOption.h.