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

Public Member Functions | |
| InitObjectiveValues () | |
| Default constructor. | |
| ~InitObjectiveValues () | |
| Class destructor. | |
| bool | IsEqual (InitObjectiveValues *that) |
| A function to check for the equality of two objects. | |
| bool | setObj (int numberOfObj, InitObjValue **obj) |
| A function to set an array of <obj> elements. | |
| bool | addObj (int idx, double value) |
| A function to add a <obj> element. | |
Public Attributes | |
| int | numberOfObj |
| number of <obj> children | |
| InitObjValue ** | obj |
| initial value for each objective | |
Definition at line 1555 of file OSOption.h.
| InitObjectiveValues::InitObjectiveValues | ( | ) |
| InitObjectiveValues::~InitObjectiveValues | ( | ) |
| bool InitObjectiveValues::IsEqual | ( | InitObjectiveValues * | that | ) |
A function to check for the equality of two objects.
Definition at line 8094 of file OSOption.cpp.
References numberOfObj, and obj.
| bool InitObjectiveValues::setObj | ( | int | numberOfObj, | |
| InitObjValue ** | obj | |||
| ) |
A function to set an array of <obj> elements.
| numberOfObj,: | number of <obj> elements to be set | |
| obj,: | the array of <obj> elements that are to be set |
Definition at line 4627 of file OSOption.cpp.
References ErrorClass::errormsg, and obj.
Referenced by OSOption::setInitObjValuesSparse().
| bool InitObjectiveValues::addObj | ( | int | idx, | |
| double | value | |||
| ) |
A function to add a <obj> element.
| idx,: | the index of the objective to be given an initial value | |
| value,: | the inital value to be added |
Definition at line 4660 of file OSOption.cpp.
References ErrorClass::errormsg, InitObjValue::idx, numberOfObj, obj, and InitObjValue::value.
Referenced by OSOption::setAnotherInitObjValue().
number of <obj> children
Definition at line 1559 of file OSOption.h.
Referenced by addObj(), OSOption::getNumberOfInitObjValues(), IsEqual(), OSOption::setInitObjValuesSparse(), and ~InitObjectiveValues().
initial value for each objective
Definition at line 1562 of file OSOption.h.
Referenced by addObj(), OSOption::getInitObjValuesSparse(), InitObjectiveValues(), IsEqual(), OSOption::setInitObjValuesDense(), setObj(), and ~InitObjectiveValues().
1.4.7