#include <OSOption.h>
Collaboration diagram for ConstraintOption:
Public Member Functions | |
ConstraintOption () | |
Default constructor. | |
~ConstraintOption () | |
Class destructor. | |
bool | IsEqual (ConstraintOption *that) |
A function to check for the equality of two objects. | |
bool | setOther (int numberOfOptions, OtherConstraintOption **other) |
A function to set an array of <other> elements. | |
bool | addOther (OtherConstraintOption *other) |
A function to add an <other> element. | |
Public Attributes | |
int | numberOfOtherConstraintOptions |
number of <other> child elements | |
InitConstraintValues * | initialConstraintValues |
initial values for the constraints | |
InitDualVariableValues * | initialDualValues |
initial dual values for the constraints | |
OtherConstraintOption ** | other |
other information about the constraints |
Definition at line 2143 of file OSOption.h.
ConstraintOption::ConstraintOption | ( | ) |
Default constructor.
Definition at line 1051 of file OSOption.cpp.
References initialConstraintValues, initialDualValues, and other.
ConstraintOption::~ConstraintOption | ( | ) |
Class destructor.
Definition at line 1062 of file OSOption.cpp.
References initialConstraintValues, initialDualValues, numberOfOtherConstraintOptions, and other.
bool ConstraintOption::IsEqual | ( | ConstraintOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 8394 of file OSOption.cpp.
References initialConstraintValues, initialDualValues, numberOfOtherConstraintOptions, and other.
bool ConstraintOption::setOther | ( | int | numberOfOptions, | |
OtherConstraintOption ** | 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 5215 of file OSOption.cpp.
References OtherConstraintOption::category, OtherConstraintOption::con, OtherConstraintOption::description, ErrorClass::errormsg, OtherConstraintOption::name, OtherConstraintOption::numberOfCon, numberOfOtherConstraintOptions, other, OtherConstraintOption::solver, OtherConstraintOption::type, and OtherConstraintOption::value.
Referenced by OSOption::setOtherConstraintOptions().
bool ConstraintOption::addOther | ( | OtherConstraintOption * | other | ) |
A function to add an <other> element.
other,: | the content of the <other> element to be added |
Definition at line 5266 of file OSOption.cpp.
References OtherConstraintOption::category, OtherConstraintOption::con, OtherConstraintOption::description, OtherConstraintOption::name, OtherConstraintOption::numberOfCon, numberOfOtherConstraintOptions, other, OtherConstraintOption::solver, OtherConstraintOption::type, and OtherConstraintOption::value.
Referenced by OSOption::setAnOtherConstraintOption().
number of <other> child elements
Definition at line 2147 of file OSOption.h.
Referenced by addOther(), OSOption::getNumberOfOtherConstraintOptions(), IsEqual(), setOther(), OSOption::setOtherConstraintOptions(), and ~ConstraintOption().
initial values for the constraints
Definition at line 2150 of file OSOption.h.
Referenced by ConstraintOption(), OSOption::getInitConValuesSparse(), OSOption::getNumberOfInitConValues(), IsEqual(), OSOption::setAnotherInitConValue(), OSOption::setInitConValuesDense(), OSOption::setInitConValuesSparse(), and ~ConstraintOption().
initial dual values for the constraints
Definition at line 2153 of file OSOption.h.
Referenced by ConstraintOption(), OSOption::getInitDualVarValuesSparse(), OSOption::getNumberOfInitDualVarValues(), IsEqual(), OSOption::setAnotherInitDualVarValue(), OSOption::setInitDualVarValuesDense(), OSOption::setInitDualVarValuesSparse(), and ~ConstraintOption().
other information about the constraints
Definition at line 2156 of file OSOption.h.
Referenced by addOther(), ConstraintOption(), OSOption::getAllOtherConstraintOptions(), IsEqual(), setOther(), and ~ConstraintOption().