dlinear
0.0.1
Delta-complete SMT solver for linear programming
|
Plaisted-Greenbaum transformation is a method to convert a formula into an equi-satisfiable vector of formulae in CNF. More...
#include <PlaistedGreenbaumCnfizer.h>
Public Member Functions | |
PlaistedGreenbaumCnfizer (const Config &config) | |
Construct a new PlaistedGreenbaumCnfizer object with the given config . | |
std::pair< std::vector< Formula >, std::vector< Variable > > | Process (const Formula &f) const |
Convert a f into an equi-satisfiable formula f' in CNF. | |
Public Member Functions inherited from dlinear::GenericFormulaVisitor< Formula, Args... > | |
const IterationStats & | stats () const |
Get read-only access to the statistics of the FormulaVisitor. | |
const Config & | config () const |
Get read-only access to the configuration of the FormulaVisitor. | |
Private Attributes | |
const NaiveCnfizer | naive_cnfizer_ |
Naive CNFizer. Used to transform nested formulas inside universal quantification. | |
Additional Inherited Members | |
Protected Member Functions inherited from dlinear::FormulaVisitor< std::vector< Formula > &, std::vector< Variable > & > | |
FormulaVisitor (const Config &config, const std::string &class_name="FormulaVisitor") | |
Construct a new FormulaVisitor object with the given config . | |
Protected Member Functions inherited from dlinear::GenericFormulaVisitor< Formula, Args... > | |
GenericFormulaVisitor (const Config &config, const std::string &class_name="GenericFormulaVisitor") | |
Construct a new FormulaVisitor object with the given config . | |
Protected Attributes inherited from dlinear::GenericFormulaVisitor< Formula, Args... > | |
const Config & | config_ |
Configuration. | |
IterationStats | stats_ |
Statistics. | |
Plaisted-Greenbaum transformation is a method to convert a formula into an equi-satisfiable vector of formulae in CNF.
The method can introduce extra Boolean variables. Check Wikipedia for more information.
Definition at line 28 of file PlaistedGreenbaumCnfizer.h.
|
inlineexplicit |
Construct a new PlaistedGreenbaumCnfizer object with the given config
.
config | configuration |
Definition at line 34 of file PlaistedGreenbaumCnfizer.h.
|
nodiscard |
Convert a f
into an equi-satisfiable formula f'
in CNF.
f | A formula to be converted. |
Definition at line 17 of file PlaistedGreenbaumCnfizer.cpp.