#include <OSOption.h>
Collaboration diagram for VariableOption:
Public Member Functions | |
VariableOption () | |
Default constructor. | |
~VariableOption () | |
Class destructor. | |
bool | IsEqual (VariableOption *that) |
A function to check for the equality of two objects. | |
bool | setOther (int numberOfOptions, OtherVariableOption **other) |
A function to set an array of <other> elements. | |
bool | addOther (OtherVariableOption *other) |
A function to add an <other> element. | |
Public Attributes | |
int | numberOfOtherVariableOptions |
number of <other> child elements | |
InitVariableValues * | initialVariableValues |
initial values for the variables | |
InitVariableValuesString * | initialVariableValuesString |
initial values for string-valued variables | |
InitialBasisStatus * | initialBasisStatus |
initial basis information | |
IntegerVariableBranchingWeights * | integerVariableBranchingWeights |
branching weights for integer variables | |
SOSVariableBranchingWeights * | sosVariableBranchingWeights |
branching weights for SOS variables and groups | |
OtherVariableOption ** | other |
other variable options |
Definition at line 1420 of file OSOption.h.
VariableOption::VariableOption | ( | ) |
Default constructor.
Definition at line 700 of file OSOption.cpp.
References initialBasisStatus, initialVariableValues, initialVariableValuesString, integerVariableBranchingWeights, other, and sosVariableBranchingWeights.
VariableOption::~VariableOption | ( | ) |
Class destructor.
Definition at line 714 of file OSOption.cpp.
References initialBasisStatus, initialVariableValues, initialVariableValuesString, integerVariableBranchingWeights, numberOfOtherVariableOptions, other, and sosVariableBranchingWeights.
bool VariableOption::IsEqual | ( | VariableOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 7508 of file OSOption.cpp.
References initialBasisStatus, initialVariableValues, initialVariableValuesString, integerVariableBranchingWeights, numberOfOtherVariableOptions, other, and sosVariableBranchingWeights.
bool VariableOption::setOther | ( | int | numberOfOptions, | |
OtherVariableOption ** | 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 4548 of file OSOption.cpp.
References OtherVariableOption::category, OtherVariableOption::description, ErrorClass::errormsg, OtherVariableOption::name, numberOfOtherVariableOptions, OtherVariableOption::numberOfVar, other, OtherVariableOption::solver, OtherVariableOption::type, OtherVariableOption::value, and OtherVariableOption::var.
Referenced by OSOption::setOtherVariableOptions().
bool VariableOption::addOther | ( | OtherVariableOption * | other | ) |
A function to add an <other> element.
other,: | the content of the <other> element to be added |
Definition at line 4598 of file OSOption.cpp.
References OtherVariableOption::category, OtherVariableOption::description, OtherVariableOption::name, numberOfOtherVariableOptions, OtherVariableOption::numberOfVar, other, OtherVariableOption::solver, OtherVariableOption::type, OtherVariableOption::value, and OtherVariableOption::var.
Referenced by OSOption::setAnOtherVariableOption().
number of <other> child elements
Definition at line 1424 of file OSOption.h.
Referenced by addOther(), OSOption::getNumberOfOtherVariableOptions(), IsEqual(), setOther(), OSOption::setOtherVariableOptions(), and ~VariableOption().
initial values for the variables
Definition at line 1427 of file OSOption.h.
Referenced by OSOption::getInitVarValuesSparse(), OSOption::getNumberOfInitVarValues(), IsEqual(), OSOption::setAnotherInitVarValue(), OSOption::setInitVarValuesDense(), OSOption::setInitVarValuesSparse(), VariableOption(), and ~VariableOption().
initial values for string-valued variables
Definition at line 1430 of file OSOption.h.
Referenced by OSOption::getInitVarValuesStringSparse(), OSOption::getNumberOfInitVarValuesString(), IsEqual(), OSOption::setAnotherInitVarValueString(), OSOption::setInitVarValuesStringDense(), OSOption::setInitVarValuesStringSparse(), VariableOption(), and ~VariableOption().
initial basis information
Definition at line 1433 of file OSOption.h.
Referenced by OSOption::getInitBasisStatusSparse(), OSOption::getNumberOfInitialBasisVariables(), IsEqual(), OSOption::setAnotherInitBasisStatus(), OSOption::setInitBasisStatusDense(), OSOption::setInitBasisStatusSparse(), VariableOption(), and ~VariableOption().
branching weights for integer variables
Definition at line 1436 of file OSOption.h.
Referenced by OSOption::getIntegerVariableBranchingWeightsSparse(), OSOption::getNumberOfIntegerVariableBranchingWeights(), IsEqual(), OSOption::setAnotherIntegerVariableBranchingWeight(), OSOption::setIntegerVariableBranchingWeightsDense(), OSOption::setIntegerVariableBranchingWeightsSparse(), VariableOption(), and ~VariableOption().
branching weights for SOS variables and groups
Definition at line 1439 of file OSOption.h.
Referenced by OSOption::getNumberOfSOS(), OSOption::getNumberOfSOSVarBranchingWeights(), OSOption::getSOSVariableBranchingWeightsSparse(), IsEqual(), OSOption::setAnotherSOSVariableBranchingWeight(), OSOption::setSOSVariableBranchingWeights(), VariableOption(), and ~VariableOption().
other variable options
Definition at line 1442 of file OSOption.h.
Referenced by addOther(), OSOption::getAllOtherVariableOptions(), IsEqual(), setOther(), VariableOption(), and ~VariableOption().