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

Public Member Functions | |
| InitialBasisStatus () | |
| Default constructor. | |
| ~InitialBasisStatus () | |
| Class destructor. | |
| bool | IsEqual (InitialBasisStatus *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. | |
| bool | setVar (int numberOfVar, InitBasStatus **var) |
| A function to set an array of elements. | |
| bool | addVar (int idx, std::string value) |
| A function to add a element. | |
Public Attributes | |
| int | numberOfVar |
| number of children | |
| InitBasStatus ** | var |
| initial value for each variable | |
the InitialBasisStatus class.
Definition at line 1372 of file OSOption.h.
| InitialBasisStatus::InitialBasisStatus | ( | ) |
Default constructor.
Definition at line 547 of file OSOption.cpp.
| InitialBasisStatus::~InitialBasisStatus | ( | ) |
Class destructor.
Definition at line 556 of file OSOption.cpp.
| bool InitialBasisStatus::IsEqual | ( | InitialBasisStatus * | that | ) |
A function to check for the equality of two objects.
Definition at line 9889 of file OSOption.cpp.
| bool InitialBasisStatus::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) |
| bool InitialBasisStatus::setVar | ( | int | numberOfVar, | |
| InitBasStatus ** | var | |||
| ) |
A function to set an array of elements.
| numberOfVar,: | number of elements to be set | |
| var,: | the array of elements to be that are to be set |
Definition at line 5136 of file OSOption.cpp.
| bool InitialBasisStatus::addVar | ( | int | idx, | |
| std::string | value | |||
| ) |
A function to add a element.
| idx,: | the index of the variable to be given an initial basis status | |
| value,: | the initial basis status to be added |
Definition at line 5173 of file OSOption.cpp.
number of children
Definition at line 1377 of file OSOption.h.
initial value for each variable
Definition at line 1380 of file OSOption.h.
1.6.1