TotalizerEncoder implements the Totalizer encoding as described in "Incremental Cardinality Constraints for MaxSAT" by Martins et al https://doi.org/10.1007/978-3-319-10428-7_39.
More...
#include <TotalizerEncoder.h>
TotalizerEncoder implements the Totalizer encoding as described in "Incremental Cardinality Constraints for MaxSAT" by Martins et al https://doi.org/10.1007/978-3-319-10428-7_39.
Definition at line 14 of file TotalizerEncoder.h.
◆ TotalizerEncoder()
smtrat::TotalizerEncoder::TotalizerEncoder |
( |
| ) |
|
|
inline |
◆ ~TotalizerEncoder()
smtrat::TotalizerEncoder::~TotalizerEncoder |
( |
| ) |
|
◆ buildTree()
TotalizerTree smtrat::TotalizerEncoder::buildTree |
( |
const std::set< carl::Variable > & |
variables | ) |
|
|
private |
◆ canEncode()
bool smtrat::TotalizerEncoder::canEncode |
( |
const ConstraintT & |
constraint | ) |
|
|
virtual |
◆ doEncode()
◆ encode()
◆ encodeCardinalityRestriction()
◆ encodeSumPropagation()
◆ encodingSize()
◆ generateVarChain()
FormulaT smtrat::PseudoBoolEncoder::generateVarChain |
( |
const std::set< carl::Variable > & |
vars, |
|
|
carl::FormulaType |
type |
|
) |
| |
|
protectedinherited |
◆ name()
std::string smtrat::TotalizerEncoder::name |
( |
| ) |
|
|
inlinevirtual |
◆ normalizeLessConstraint()
◆ mSumPropagationFormulaCache
std::map<carl::Variables, FormulaT> smtrat::TotalizerEncoder::mSumPropagationFormulaCache |
|
private |
◆ mTreeCache
std::map<carl::Variables, TotalizerTree*> smtrat::TotalizerEncoder::mTreeCache |
|
private |
◆ problem_size
std::size_t smtrat::PseudoBoolEncoder::problem_size |
|
inherited |
The documentation for this class was generated from the following files: