OSrLParserData Class Reference

The OSrLParserData Class. More...

#include <OSrLParserData.h>

Collaboration diagram for OSrLParserData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OSrLParserData ()
 the OSrLParserData class constructor
 ~OSrLParserData ()

Public Attributes

std::string statusType
 the status type of the result
std::string statusDescription
 the status Description of the solution
void * scanner
 scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser
int numberOfSolutions
 number of result solutions
int numberOfVariables
 number of variables in the solution instance
int numberOfConstraints
 number of constraints in the solution instance
int numberOfObjectives
 number of Objectives in the solution instance
int kounter
 a tempory counter to count variables, number of attributes, etc.
int numberOfOtherVariableResult
 the number of types of variable results other than the value of the variable
int solutionIdx
 and index on which solution we have found
bool statusTypePresent
 set statusTypePresent to true if there is a status attribute parsed
bool generalStatusTypePresent
 set generalStatusTypePresent to true if there is a general status attribute parsed
bool otherNamePresent
 set otherNamePresent to true if there is a name attribute in anotherVarResult
int * objectiveIdx
 pointer to the array of objective function indexes in each solution
double ** objectiveValues
 for each solution we have a pointer to the value of each objective function
double ** primalSolution
 for each solution we have a pointer to each primal solution
double ** dualSolution
 for each solution we have a pointer to each dual solution
struct OtherVariableResultStructotherVarStruct
 a pointer to an OtherVariableResultStruct structure
std::vector
< OtherVariableResultStruct * > 
otherVarVec
 store a vector of pointers to otherVarVec structures
char * errorText
 if the parser finds invalid text it is held here and we delete if the file was not valid

Detailed Description

The OSrLParserData Class.

Author:
Robert Fourer, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
the OSrLParserData class is used to temporarily hold data found in parsing the OSrL instance we do this so we can have a reentrant parser.

Definition at line 60 of file OSrLParserData.h.


Constructor & Destructor Documentation

OSrLParserData::OSrLParserData (  ) 

the OSrLParserData class constructor

OSrLParserData::~OSrLParserData (  ) 

Member Data Documentation

the status type of the result

Definition at line 71 of file OSrLParserData.h.

the status Description of the solution

Definition at line 74 of file OSrLParserData.h.

scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser

Definition at line 78 of file OSrLParserData.h.

number of result solutions

Definition at line 81 of file OSrLParserData.h.

number of variables in the solution instance

Definition at line 84 of file OSrLParserData.h.

number of constraints in the solution instance

Definition at line 87 of file OSrLParserData.h.

number of Objectives in the solution instance

Definition at line 90 of file OSrLParserData.h.

a tempory counter to count variables, number of attributes, etc.

Definition at line 93 of file OSrLParserData.h.

the number of types of variable results other than the value of the variable

Definition at line 98 of file OSrLParserData.h.

and index on which solution we have found

Definition at line 101 of file OSrLParserData.h.

set statusTypePresent to true if there is a status attribute parsed

Definition at line 106 of file OSrLParserData.h.

set generalStatusTypePresent to true if there is a general status attribute parsed

Definition at line 111 of file OSrLParserData.h.

set otherNamePresent to true if there is a name attribute in anotherVarResult

Definition at line 116 of file OSrLParserData.h.

pointer to the array of objective function indexes in each solution

Definition at line 121 of file OSrLParserData.h.

for each solution we have a pointer to the value of each objective function

Definition at line 126 of file OSrLParserData.h.

for each solution we have a pointer to each primal solution

Definition at line 129 of file OSrLParserData.h.

for each solution we have a pointer to each dual solution

Definition at line 132 of file OSrLParserData.h.

a pointer to an OtherVariableResultStruct structure

Definition at line 138 of file OSrLParserData.h.

store a vector of pointers to otherVarVec structures

Definition at line 141 of file OSrLParserData.h.

if the parser finds invalid text it is held here and we delete if the file was not valid

Definition at line 147 of file OSrLParserData.h.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1