#include <OSOption.h>
Public Member Functions | |
InitObjBound () | |
Default constructor. | |
~InitObjBound () | |
Class destructor. | |
bool | IsEqual (InitObjBound *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 |
objective index | |
double | lbValue |
initial lower bound | |
double | ubValue |
initial upper bound |
Definition at line 2004 of file OSOption.h.
InitObjBound::InitObjBound | ( | ) |
InitObjBound::~InitObjBound | ( | ) |
bool InitObjBound::IsEqual | ( | InitObjBound * | that | ) |
bool InitObjBound::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 10985 of file OSOption.cpp.
References idx, lbValue, OSRand(), and ubValue.
Referenced by InitObjectiveBounds::setRandom().
objective index
Definition at line 2008 of file OSOption.h.
Referenced by InitObjectiveBounds::addObj(), IsEqual(), InitObjectiveBounds::setObj(), and setRandom().
double InitObjBound::lbValue |
initial lower bound
Definition at line 2011 of file OSOption.h.
Referenced by InitObjectiveBounds::addObj(), IsEqual(), InitObjectiveBounds::setObj(), and setRandom().
double InitObjBound::ubValue |
initial upper bound
Definition at line 2014 of file OSOption.h.
Referenced by InitObjectiveBounds::addObj(), IsEqual(), InitObjectiveBounds::setObj(), and setRandom().