the ObjectiveOption class. More...
#include <OSOption.h>
Public Member Functions | |
ObjectiveOption () | |
Default constructor. | |
~ObjectiveOption () | |
Class destructor. | |
bool | IsEqual (ObjectiveOption *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 | setOther (int numberOfOptions, OtherObjectiveOption **other) |
A function to set an array of <other> elements. | |
bool | addOther (OtherObjectiveOption *other) |
A function to add an <other> element. | |
Public Attributes | |
int | numberOfOtherObjectiveOptions |
number of <other> child elements | |
InitObjectiveValues * | initialObjectiveValues |
initial values for the objectives | |
InitObjectiveBounds * | initialObjectiveBounds |
initial bounds for the objectives | |
BasisStatus * | initialBasisStatus |
initial basis status for the objectives | |
OtherObjectiveOption ** | other |
other information about the objectives |
the ObjectiveOption class.
Definition at line 2340 of file OSOption.h.
ObjectiveOption::ObjectiveOption | ( | ) |
Default constructor.
Definition at line 943 of file OSOption.cpp.
ObjectiveOption::~ObjectiveOption | ( | ) |
Class destructor.
Definition at line 955 of file OSOption.cpp.
bool ObjectiveOption::IsEqual | ( | ObjectiveOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 10308 of file OSOption.cpp.
bool ObjectiveOption::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 11761 of file OSOption.cpp.
bool ObjectiveOption::setOther | ( | int | numberOfOptions, | |
OtherObjectiveOption ** | other | |||
) |
A function to set an array of <other> elements.
numberOfOptions,: | number of <other> elements to be set | |
other,: | the array of <other> elements that are to be set |
Definition at line 6067 of file OSOption.cpp.
bool ObjectiveOption::addOther | ( | OtherObjectiveOption * | other | ) |
A function to add an <other> element.
other,: | the content of the <other> element to be added |
Definition at line 6137 of file OSOption.cpp.
number of <other> child elements
Definition at line 2345 of file OSOption.h.
initial values for the objectives
Definition at line 2348 of file OSOption.h.
initial bounds for the objectives
Definition at line 2351 of file OSOption.h.
initial basis status for the objectives
Definition at line 2354 of file OSOption.h.
other information about the objectives
Definition at line 2357 of file OSOption.h.