the OptimizationOption class. More...
#include <OSOption.h>
Public Member Functions | |
OptimizationOption () | |
Default constructor. | |
~OptimizationOption () | |
Class destructor. | |
bool | IsEqual (OptimizationOption *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. | |
bool | deepCopyFrom (OptimizationOption *that) |
A function to make a deep copy of an instance of this class. | |
Public Attributes | |
int | numberOfVariables |
the number of variables | |
int | numberOfObjectives |
the number of objectives | |
int | numberOfConstraints |
the number of constraints | |
VariableOption * | variables |
the options for the variables | |
ObjectiveOption * | objectives |
the options for the objectives | |
ConstraintOption * | constraints |
the options for the constraints | |
SolverOptions * | solverOptions |
other solver options |
the OptimizationOption class.
Definition at line 3493 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 9895 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 12408 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 13536 of file OSOption.cpp.
the number of variables
Definition at line 3498 of file OSOption.h.
the number of objectives
Definition at line 3501 of file OSOption.h.
the number of constraints
Definition at line 3504 of file OSOption.h.
the options for the variables
Definition at line 3507 of file OSOption.h.
the options for the objectives
Definition at line 3510 of file OSOption.h.
the options for the constraints
Definition at line 3513 of file OSOption.h.
other solver options
Definition at line 3516 of file OSOption.h.