#include <OSrLParserData.h>
Collaboration diagram for OSrLParserData:
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 | |
OtherVariableResultStruct * | otherVarStruct |
a pointer to an OtherVariableResultStruct structure | |
std::vector< OtherVariableResultStruct * > | otherVarVec |
store a vector of pointers to otherVarVec structures |
Definition at line 58 of file OSrLParserData.h.
OSrLParserData::OSrLParserData | ( | ) |
OSrLParserData::~OSrLParserData | ( | ) |
Definition at line 16 of file OSrLParserData.cpp.
References dualSolution, numberOfConstraints, numberOfOtherVariableResult, numberOfSolutions, objectiveIdx, objectiveValues, otherVarVec, and primalSolution.
std::string OSrLParserData::statusType |
std::string OSrLParserData::statusDescription |
void* OSrLParserData::scanner |
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser
Definition at line 76 of file OSrLParserData.h.
number of result solutions
Definition at line 79 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
number of constraints in the solution instance
Definition at line 85 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
a tempory counter to count variables, number of attributes, etc.
Definition at line 91 of file OSrLParserData.h.
the number of types of variable results other than the value of the variable
Definition at line 96 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
set statusTypePresent to true if there is a status attribute parsed
Definition at line 104 of file OSrLParserData.h.
set generalStatusTypePresent to true if there is a general status attribute parsed
Definition at line 109 of file OSrLParserData.h.
set otherNamePresent to true if there is a name attribute in anotherVarResult
Definition at line 114 of file OSrLParserData.h.
pointer to the array of objective function indexes in each solution
Definition at line 119 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
double** OSrLParserData::objectiveValues |
for each solution we have a pointer to the value of each objective function
Definition at line 124 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
double** OSrLParserData::primalSolution |
for each solution we have a pointer to each primal solution
Definition at line 127 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
double** OSrLParserData::dualSolution |
for each solution we have a pointer to each dual solution
Definition at line 130 of file OSrLParserData.h.
Referenced by ~OSrLParserData().
a pointer to an OtherVariableResultStruct structure
Definition at line 133 of file OSrLParserData.h.
std::vector<OtherVariableResultStruct*> OSrLParserData::otherVarVec |
store a vector of pointers to otherVarVec structures
Definition at line 136 of file OSrLParserData.h.
Referenced by ~OSrLParserData().