6.38 ABA_NUMVAR Class Reference

class is derived from the class ABA_VARIABLE and implements a variable which is uniquely defined by a number

#include <numvar.h>

Inheritance diagram for ABA_NUMVAR::


PIC


Public Member Functions

Protected Attributes

Friends

6.38.1 Detailed Description

class is derived from the class ABA_VARIABLE and implements a variable which is uniquely defined by a number

Definition at line 38 of file numvar.h.

6.38.2 Constructor & Destructor Documentation

6.38.2.1 ABA_NUMVAR::ABA_NUMVAR (ABA_MASTER * master, const ABA_SUB * sub, int number, bool dynamic, bool local, double obj, double lBound, double uBound, ABA_VARTYPE::TYPE type)

The constructor.

Parameters:

master
A pointer to the corresponding master of the optimization.
sub
A pointer to the subproblem associated with variable. This can also be the 0-pointer.
number
The number of the column associated with the variable.
dynamic
If this argument is true, then the variable can also be removed again from the set of active variables after it is added once.
local
If this argument is true, then the variable is only locally valid, otherwise it is globally valid. As a locally valid variable is associated with a subproblem, sub must not be 0, if local is true.
obj
The objective function coefficient of the variable.
lBound
The lower bound of the variable.
uBound
The upper Bound of the variable.
type
The type of the variable.

6.38.2.2 virtual ABA_NUMVAR::~ABA_NUMVAR () [virtual]

The destructor.

6.38.3 Member Function Documentation

6.38.3.1 int ABA_NUMVAR::number () const [inline]

Returns:

The number of the variable.

Definition at line 133 of file numvar.h.

6.38.4 Friends And Related Function Documentation

6.38.4.1 ostream& operator<< (ostream & out, const ABA_NUMVAR & rhs) [friend]

Writes the number of the variable to an output stream.

Returns:

A reference to the output stream.

Parameters:

out
The output stream.
rhs
The variable being output.

6.38.5 Member Data Documentation

6.38.5.1 int ABA_NUMVAR::number_ [protected]

The identification number of the variable.

Definition at line 129 of file numvar.h.

The documentation for this class was generated from the following file: