#include <OSOption.h>
Collaboration diagram for OtherObjOption:

Public Member Functions | |
| OtherObjOption () | |
| Default constructor. | |
| ~OtherObjOption () | |
| Class destructor. | |
| bool | IsEqual (OtherObjOption *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. | |
Public Attributes | |
| int | idx |
| variable index | |
| std::string | value |
| value of the option | |
| std::string | lbValue |
| lower bound on the value | |
| std::string | ubValue |
| lower bound on the value | |
Definition at line 2130 of file OSOption.h.
| OtherObjOption::OtherObjOption | ( | ) |
| OtherObjOption::~OtherObjOption | ( | ) |
| bool OtherObjOption::IsEqual | ( | OtherObjOption * | that | ) |
| bool OtherObjOption::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" atrbutes and <XXX> children) |
Definition at line 11054 of file OSOption.cpp.
References idx, lbValue, OSRand(), ubValue, and value.
Referenced by OtherObjectiveOption::setRandom().
variable index
Definition at line 2134 of file OSOption.h.
Referenced by OtherObjectiveOption::addObj(), IsEqual(), OSOption::setOtherObjectiveOptionObj(), and setRandom().
| std::string OtherObjOption::value |
value of the option
Definition at line 2137 of file OSOption.h.
Referenced by OtherObjectiveOption::addObj(), IsEqual(), OSOption::setOtherObjectiveOptionObj(), and setRandom().
| std::string OtherObjOption::lbValue |
lower bound on the value
Definition at line 2141 of file OSOption.h.
Referenced by OtherObjectiveOption::addObj(), IsEqual(), OSOption::setOtherObjectiveOptionObj(), and setRandom().
| std::string OtherObjOption::ubValue |
lower bound on the value
Definition at line 2144 of file OSOption.h.
Referenced by OtherObjectiveOption::addObj(), IsEqual(), OSOption::setOtherObjectiveOptionObj(), and setRandom().
1.4.7