the InitialBasisStatus class. More...
#include <OSOption.h>
Public Member Functions | |
InitialBasisStatus () | |
Default constructor. More... | |
~InitialBasisStatus () | |
Class destructor. More... | |
bool | IsEqual (InitialBasisStatus *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 (InitialBasisStatus *that) |
A function to make a deep copy of an instance of this class. More... | |
bool | setVar (int numberOfVar, InitBasStatus **var) |
A function to set an array of elements. More... | |
bool | addVar (int idx, std::string value) |
A function to add a element. More... | |
Public Attributes | |
int | numberOfVar |
number of children More... | |
InitBasStatus ** | var |
initial value for each variable More... | |
the InitialBasisStatus class.
Definition at line 1540 of file OSOption.h.
InitialBasisStatus::InitialBasisStatus | ( | ) |
Default constructor.
Definition at line 544 of file OSOption.cpp.
InitialBasisStatus::~InitialBasisStatus | ( | ) |
Class destructor.
Definition at line 553 of file OSOption.cpp.
bool InitialBasisStatus::IsEqual | ( | InitialBasisStatus * | that | ) |
A function to check for the equality of two objects.
Definition at line 10894 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" attributes and <XXX> children) |
bool InitialBasisStatus::deepCopyFrom | ( | InitialBasisStatus * | that | ) |
A function to make a deep copy of an instance of this class.
that,: | the instance from which information is to be copied |
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 5430 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 5467 of file OSOption.cpp.
int InitialBasisStatus::numberOfVar |
number of children
Definition at line 1545 of file OSOption.h.
InitBasStatus** InitialBasisStatus::var |
initial value for each variable
Definition at line 1548 of file OSOption.h.