#include <OSOption.h>
Collaboration diagram for ObjectiveOption:
Public Member Functions | |
ObjectiveOption () | |
Default constructor. | |
~ObjectiveOption () | |
Class destructor. | |
bool | IsEqual (ObjectiveOption *that) |
A function to check for the equality of two objects. | |
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 vounds for the objectives | |
OtherObjectiveOption ** | other |
other information about the objectives |
Definition at line 1786 of file OSOption.h.
ObjectiveOption::ObjectiveOption | ( | ) |
Default constructor.
Definition at line 881 of file OSOption.cpp.
References initialObjectiveBounds, initialObjectiveValues, and other.
ObjectiveOption::~ObjectiveOption | ( | ) |
Class destructor.
Definition at line 892 of file OSOption.cpp.
References initialObjectiveBounds, initialObjectiveValues, numberOfOtherObjectiveOptions, and other.
bool ObjectiveOption::IsEqual | ( | ObjectiveOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 8086 of file OSOption.cpp.
References initialObjectiveBounds, initialObjectiveValues, numberOfOtherObjectiveOptions, and other.
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 4882 of file OSOption.cpp.
References OtherObjectiveOption::category, OtherObjectiveOption::description, ErrorClass::errormsg, OtherObjectiveOption::name, OtherObjectiveOption::numberOfObj, numberOfOtherObjectiveOptions, OtherObjectiveOption::obj, other, OtherObjectiveOption::solver, OtherObjectiveOption::type, and OtherObjectiveOption::value.
Referenced by OSOption::setOtherObjectiveOptions().
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 4932 of file OSOption.cpp.
References OtherObjectiveOption::category, OtherObjectiveOption::description, OtherObjectiveOption::name, OtherObjectiveOption::numberOfObj, numberOfOtherObjectiveOptions, OtherObjectiveOption::obj, other, OtherObjectiveOption::solver, OtherObjectiveOption::type, and OtherObjectiveOption::value.
Referenced by OSOption::setAnOtherObjectiveOption().
number of <other> child elements
Definition at line 1790 of file OSOption.h.
Referenced by addOther(), OSOption::getNumberOfOtherObjectiveOptions(), IsEqual(), setOther(), OSOption::setOtherObjectiveOptions(), and ~ObjectiveOption().
initial values for the objectives
Definition at line 1793 of file OSOption.h.
Referenced by OSOption::getInitObjValuesSparse(), OSOption::getNumberOfInitObjValues(), IsEqual(), ObjectiveOption(), OSOption::setAnotherInitObjValue(), OSOption::setInitObjValuesDense(), OSOption::setInitObjValuesSparse(), and ~ObjectiveOption().
initial vounds for the objectives
Definition at line 1796 of file OSOption.h.
Referenced by OSOption::getInitObjBoundsSparse(), OSOption::getNumberOfInitObjBounds(), IsEqual(), ObjectiveOption(), OSOption::setAnotherInitObjBound(), OSOption::setInitObjBoundsDense(), OSOption::setInitObjBoundsSparse(), and ~ObjectiveOption().
other information about the objectives
Definition at line 1799 of file OSOption.h.
Referenced by addOther(), OSOption::getAllOtherObjectiveOptions(), IsEqual(), ObjectiveOption(), setOther(), and ~ObjectiveOption().