the ObjectiveOption class. More...
#include <OSOption.h>
Public Member Functions | |
ObjectiveOption () | |
Default constructor. More... | |
~ObjectiveOption () | |
Class destructor. More... | |
bool | IsEqual (ObjectiveOption *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 (ObjectiveOption *that) |
A function to make a deep copy of an instance of this class. More... | |
bool | setOther (int numberOfOptions, OtherObjectiveOption **other) |
A function to set an array of <other> elements. More... | |
bool | addOther (OtherObjectiveOption *other) |
A function to add an <other> element. More... | |
Public Attributes | |
int | numberOfOtherObjectiveOptions |
number of <other> child elements More... | |
InitObjectiveValues * | initialObjectiveValues |
initial values for the objectives More... | |
InitObjectiveBounds * | initialObjectiveBounds |
initial bounds for the objectives More... | |
BasisStatus * | initialBasisStatus |
initial basis status for the objectives More... | |
OtherObjectiveOption ** | other |
other information about the objectives More... | |
the ObjectiveOption class.
Definition at line 2681 of file OSOption.h.
ObjectiveOption::ObjectiveOption | ( | ) |
Default constructor.
Definition at line 945 of file OSOption.cpp.
ObjectiveOption::~ObjectiveOption | ( | ) |
Class destructor.
Definition at line 957 of file OSOption.cpp.
bool ObjectiveOption::IsEqual | ( | ObjectiveOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 11339 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 12879 of file OSOption.cpp.
bool ObjectiveOption::deepCopyFrom | ( | ObjectiveOption * | 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 13987 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 6629 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 6699 of file OSOption.cpp.
int ObjectiveOption::numberOfOtherObjectiveOptions |
number of <other> child elements
Definition at line 2686 of file OSOption.h.
InitObjectiveValues* ObjectiveOption::initialObjectiveValues |
initial values for the objectives
Definition at line 2689 of file OSOption.h.
InitObjectiveBounds* ObjectiveOption::initialObjectiveBounds |
initial bounds for the objectives
Definition at line 2692 of file OSOption.h.
BasisStatus* ObjectiveOption::initialBasisStatus |
initial basis status for the objectives
Definition at line 2695 of file OSOption.h.
OtherObjectiveOption** ObjectiveOption::other |
other information about the objectives
Definition at line 2698 of file OSOption.h.