|
Limbo
|
namespace for LpParser More...
Classes | |
| class | Driver |
| class | LpDataBase |
| Base class for lp database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined. More... | |
| struct | Term |
| a term denotes coefficient times a variable More... | |
Typedefs | |
| typedef std::vector< int64_t > | IntegerArray |
| integer array | |
| typedef std::vector< std::string > | StringArray |
| string array | |
| typedef std::vector< Term > | TermArray |
| array of terms | |
| typedef int | int32_t |
| typedef unsigned int | uint32_t |
| typedef long | int64_t |
Functions | |
| bool | read (LpDataBase &db, const string &lpFile) |
| API for LpParser. Read LP file and initialize database by calling user-defined callback functions. More... | |
namespace for LpParser
The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver
| bool LpParser::read | ( | LpDataBase & | db, |
| const string & | lpFile | ||
| ) |
API for LpParser. Read LP file and initialize database by calling user-defined callback functions.
| db | database which is derived from LpParser::LpDataBase |
| lpFile | LP file |
1.8.8