72 :
Variable(master, sub, dynamic, local, obj, lBound, uBound, type), number_(number)
86 return out <<
'(' << rhs.
number_ <<
')' << std::endl;
90 int number()
const {
return number_; }
The master of the optimization.
Variables identified by a number.
int number() const
Returns the number of the variable.
int number_
The identification number of the variable.
virtual ~NumVar()
The destructor.
friend std::ostream & operator<<(std::ostream &out, const NumVar &rhs)
Writes the number of the variable to an output stream.
NumVar(Master *master, const Sub *sub, int number, bool dynamic, bool local, double obj, double lBound, double uBound, VarType::TYPE type)
The constructor.
TYPE
The enumeration with the different variable types.
Forms the virtual base class for all possible variables given in pool format.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.