15 #include <carl-formula/formula/functions/ConstraintBounds.h>
19 template<
typename Settings>
26 using Choice = std::tuple<carl::Variable,FormulaT>;
32 return SettingsType::moduleName;
All preprocessing modules shall derive from this module, that is modules, which simplify their receiv...
std::tuple< carl::Variable, FormulaT > Choice
BEModule(const ModuleInput *_formula, Conditionals &_conditionals, Manager *_manager=NULL)
std::map< Choice, carl::Variable > mReplacements
FormulaT extractBounds(const FormulaT &formula)
FormulaT applyReplacements(const FormulaT &f) const
void collectBounds(carl::ConstraintBounds< Poly > &cb, const FormulaT &formula, bool conjunction) const
std::string moduleName() const
Answer checkCore()
Checks the received formula for consistency.
std::function< FormulaT(FormulaT)> extractBoundsFunction
Class to create the formulas for axioms.
carl::Formula< Poly > FormulaT
const settings::Settings & Settings()
Answer
An enum with the possible answers a Module can give.
std::vector< std::atomic_bool * > Conditionals
A vector of atomic bool pointers.