#include <parser.h>
Public Member Functions | |
DimacsParser (SatBuilder &prg) | |
void | setProgram (SatBuilder &prg) |
Protected Member Functions | |
bool | doParse () |
Private Member Functions | |
void | parseClauses () |
void | parseHeader () |
Private Attributes | |
SatBuilder * | builder_ |
int | numVar_ |
bool | wcnf_ |
Clasp::DimacsParser::DimacsParser | ( | SatBuilder & | prg | ) | [explicit] |
Definition at line 295 of file parser.cpp.
bool Clasp::DimacsParser::doParse | ( | ) | [protected, virtual] |
Implements Clasp::StreamParser.
Definition at line 298 of file parser.cpp.
void Clasp::DimacsParser::parseClauses | ( | ) | [private] |
Definition at line 318 of file parser.cpp.
void Clasp::DimacsParser::parseHeader | ( | ) | [private] |
Definition at line 305 of file parser.cpp.
void Clasp::DimacsParser::setProgram | ( | SatBuilder & | prg | ) |
Definition at line 296 of file parser.cpp.
SatBuilder* Clasp::DimacsParser::builder_ [private] |
int Clasp::DimacsParser::numVar_ [private] |
bool Clasp::DimacsParser::wcnf_ [private] |