Variable Class Reference

The in-memory representation of the variable element. More...

#include <OSInstance.h>

Collaboration diagram for Variable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Variable ()
 The Variable class constructor.
 ~Variable ()
 The Variable class destructor.

Public Attributes

double lb
 lb corresponds to the optional attribute that holds the variable lower bound, the default value is 0
double ub
 ub corresponds to the optional attribute that holds the variable upper bound, the default value is OSINFINITY
double init
 init corresponds to the optional attribute that holds the variable initial value, the default value is OSNAN
char type
 type corresponds to the attribute that holds the variable type: C (Continuous), B (binary), I (general integer), or S (string) the default is C
std::string name
 name corresponds to the optional attribute that holds the variable name, the default value is empty
std::string initString
 initString corresponds to the optional attribute that holds the name std::string

Detailed Description

The in-memory representation of the variable element.

Definition at line 50 of file OSInstance.h.


Constructor & Destructor Documentation

Variable::Variable (  ) 

The Variable class constructor.

Definition at line 289 of file OSInstance.cpp.

Variable::~Variable (  ) 

The Variable class destructor.

Definition at line 302 of file OSInstance.cpp.


Member Data Documentation

double Variable::lb

lb corresponds to the optional attribute that holds the variable lower bound, the default value is 0

Definition at line 61 of file OSInstance.h.

Referenced by OSInstance::processVariables(), and OSiLWriter::writeOSiL().

double Variable::ub

ub corresponds to the optional attribute that holds the variable upper bound, the default value is OSINFINITY

Definition at line 66 of file OSInstance.h.

Referenced by OSInstance::processVariables(), and OSiLWriter::writeOSiL().

double Variable::init

init corresponds to the optional attribute that holds the variable initial value, the default value is OSNAN

Definition at line 71 of file OSInstance.h.

Referenced by OSInstance::processVariables(), and OSiLWriter::writeOSiL().

char Variable::type

type corresponds to the attribute that holds the variable type: C (Continuous), B (binary), I (general integer), or S (string) the default is C

Definition at line 76 of file OSInstance.h.

Referenced by OSInstance::processVariables(), and OSiLWriter::writeOSiL().

std::string Variable::name

name corresponds to the optional attribute that holds the variable name, the default value is empty

Definition at line 81 of file OSInstance.h.

Referenced by OSInstance::processVariables(), and OSiLWriter::writeOSiL().

std::string Variable::initString

initString corresponds to the optional attribute that holds the name std::string

Definition at line 84 of file OSInstance.h.

Referenced by OSInstance::processVariables(), and OSiLWriter::writeOSiL().


The documentation for this class was generated from the following files:
Generated on Thu May 15 22:15:43 2008 by  doxygen 1.4.7