Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
Clasp::OPBParser Class Reference

#include <parser.h>

Inheritance diagram for Clasp::OPBParser:
Inheritance graph
[legend]

List of all members.

Classes

struct  Constraint

Public Member Functions

 OPBParser (PBBuilder &prg)
void setProgram (PBBuilder &prg)

Protected Member Functions

bool doParse ()

Private Member Functions

void parseConstraint ()
void parseHeader ()
void parseOptObjective ()
void parseSum ()
void parseTerm ()

Private Attributes

struct Clasp::OPBParser::Constraint active_
PBBuilderbuilder_
weight_t maxCost_
weight_t minCost_
LitVec term_

Detailed Description

Definition at line 139 of file parser.h.


Constructor & Destructor Documentation

Clasp::OPBParser::OPBParser ( PBBuilder prg) [explicit]

Definition at line 338 of file parser.cpp.


Member Function Documentation

bool Clasp::OPBParser::doParse ( ) [protected, virtual]

Implements Clasp::StreamParser.

Definition at line 340 of file parser.cpp.

Definition at line 409 of file parser.cpp.

void Clasp::OPBParser::parseHeader ( ) [private]

Definition at line 357 of file parser.cpp.

Definition at line 391 of file parser.cpp.

void Clasp::OPBParser::parseSum ( ) [private]

Definition at line 427 of file parser.cpp.

void Clasp::OPBParser::parseTerm ( ) [private]

Definition at line 442 of file parser.cpp.

Definition at line 339 of file parser.cpp.


Member Data Documentation

Definition at line 151 of file parser.h.

Definition at line 153 of file parser.h.

Definition at line 152 of file parser.h.

Definition at line 159 of file parser.h.


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


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:41