the ConstraintOption class. More...
#include <OSOption.h>

Public Member Functions | |
| ConstraintOption () | |
| Default constructor. More... | |
| ~ConstraintOption () | |
| Class destructor. More... | |
| bool | IsEqual (ConstraintOption *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 (ConstraintOption *that) |
| A function to make a deep copy of an instance of this class. More... | |
| bool | setOther (int numberOfOptions, OtherConstraintOption **other) |
| A function to set an array of <other> elements. More... | |
| bool | addOther (OtherConstraintOption *other) |
| A function to add an <other> element. More... | |
Public Attributes | |
| int | numberOfOtherConstraintOptions |
| number of <other> child elements More... | |
| InitConstraintValues * | initialConstraintValues |
| initial values for the constraints More... | |
| InitDualVariableValues * | initialDualValues |
| initial dual values for the constraints More... | |
| BasisStatus * | initialBasisStatus |
| initial basis status for the slack variables More... | |
| OtherConstraintOption ** | other |
| other information about the constraints More... | |
the ConstraintOption class.
Definition at line 3263 of file OSOption.h.
| ConstraintOption::ConstraintOption | ( | ) |
Default constructor.
Definition at line 1142 of file OSOption.cpp.
| ConstraintOption::~ConstraintOption | ( | ) |
Class destructor.
Definition at line 1154 of file OSOption.cpp.
| bool ConstraintOption::IsEqual | ( | ConstraintOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 11709 of file OSOption.cpp.
| bool ConstraintOption::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 13065 of file OSOption.cpp.
| bool ConstraintOption::deepCopyFrom | ( | ConstraintOption * | 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 14154 of file OSOption.cpp.
| 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 7271 of file OSOption.cpp.
| 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 7346 of file OSOption.cpp.
| int ConstraintOption::numberOfOtherConstraintOptions |
number of <other> child elements
Definition at line 3268 of file OSOption.h.
| InitConstraintValues* ConstraintOption::initialConstraintValues |
initial values for the constraints
Definition at line 3271 of file OSOption.h.
| InitDualVariableValues* ConstraintOption::initialDualValues |
initial dual values for the constraints
Definition at line 3274 of file OSOption.h.
| BasisStatus* ConstraintOption::initialBasisStatus |
initial basis status for the slack variables
Definition at line 3277 of file OSOption.h.
| OtherConstraintOption** ConstraintOption::other |
other information about the constraints
Definition at line 3280 of file OSOption.h.
1.8.5