14 std::string
name() {
return "CardinalityEncoder"; }
std::optional< FormulaT > encodeAtMost(const ConstraintT &constraint)
std::optional< FormulaT > encodeAtLeast(const ConstraintT &constraint)
Rational encodingSize(const ConstraintT &constraint)
bool canEncode(const ConstraintT &constraint)
std::optional< FormulaT > doEncode(const ConstraintT &constraint)
std::optional< FormulaT > encodeExactly(const ConstraintT &constraint)
Base class for a PseudoBoolean Encoder.
Class to create the formulas for axioms.
carl::Formula< Poly > FormulaT
carl::Constraint< Poly > ConstraintT