Abstract base class for clause processors. More...
#include <Parsers.hpp>
Public Member Functions | |
virtual bool | initMembers (unsigned int varCount, unsigned int clauseCount)=0 |
Initialize the processor with problem parameters. | |
virtual bool | operator() (simpleClause &clause)=0 |
Process a clause. | |
Abstract base class for clause processors.
ClauseProcessor defines an interface for objects that process clauses during parsing. Derived classes can implement specific processing logic.
|
pure virtual |
Initialize the processor with problem parameters.
varCount | The number of variables in the formula. |
clauseCount | The number of clauses in the formula. |
Implemented in Parsers::RedundancyFilter, Parsers::SBVAInit, and Parsers::TautologyFilter.
|
pure virtual |
Process a clause.
clause | The clause to process. |
Implemented in Parsers::RedundancyFilter, Parsers::SBVAInit, and Parsers::TautologyFilter.