ABA_NUMVAR Class Reference

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

#include <numvar.h>

Inheritance diagram for ABA_NUMVAR:

ABA_VARIABLE ABA_CONVAR ABA_ABACUSROOT List of all members.

Public Member Functions

 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)
virtual ~ABA_NUMVAR ()
 The destructor.
int number () const

Protected Attributes

int number_

Friends

ostream & operator<< (ostream &out, const ABA_NUMVAR &rhs)

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.


Constructor & Destructor Documentation

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.

virtual ABA_NUMVAR::~ABA_NUMVAR (  )  [virtual]

The destructor.


Member Function Documentation

int ABA_NUMVAR::number (  )  const [inline]

Returns:
The number of the variable.

Definition at line 133 of file numvar.h.


Friends And Related Function Documentation

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.


Member Data Documentation

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:
Generated on Tue Aug 14 18:09:58 2007 for ABACUS by  doxygen 1.5.1