19 std::string
name() {
return "ExactlyOneCommanderEncoder"; }
25 std::map<carl::Variable, std::vector<carl::Variable>>
partition(carl::Variables);
std::optional< FormulaT > doEncode(const ConstraintT &constraint)
CardinalityEncoder mCardinalityEncoder
ExactlyOneCommanderEncoder()
std::map< carl::Variable, std::vector< carl::Variable > > partition(carl::Variables)
bool canEncode(const ConstraintT &constraint)
Rational encodingSize(const ConstraintT &constraint)
Base class for a PseudoBoolean Encoder.
Class to create the formulas for axioms.
carl::Constraint< Poly > ConstraintT