19 #include <carl-formula/formula/functions/ConstraintBounds.h>
23 template<
typename Settings>
27 using AVar = carl::Variable;
28 using BVar = carl::Variable;
30 std::map<AVar, std::map<Rational, std::pair<BVar,FormulaT>>>
mChoices;
All preprocessing modules shall derive from this module, that is modules, which simplify their receiv...
std::set< AVar > mRemaining
std::function< void(FormulaT)> collectChoicesFunction
void collectChoices(const FormulaT &formula)
void updateModel() const
Updates the model, if the solver has detected the consistency of the received formula,...
void collectBounds(carl::ConstraintBounds< Poly > &cb, const FormulaT &formula, bool conjunction) const
std::map< AVar, std::map< Rational, std::pair< BVar, FormulaT > > > mChoices
MCBModule(const ModuleInput *_formula, Conditionals &_conditionals, Manager *_manager=nullptr)
Answer checkCore()
Checks the received formula for consistency.
FormulaT applyReplacements(const FormulaT &f)
Class to create the formulas for axioms.
carl::Formula< Poly > FormulaT
const settings::Settings & Settings()
carl::Model< Rational, Poly > Model
Answer
An enum with the possible answers a Module can give.
std::vector< std::atomic_bool * > Conditionals
A vector of atomic bool pointers.