137 for (
size_t i = 0; i < n; i++)
push();
171 for (
size_t i = 0; i < n; i++)
pop();
218 mLogic = carl::Logic::UNDEFINED;
smtrat::ObjectiveValues mObjectiveValues
void add_assertion(const FormulaT &formula)
void set_add_soft_assertion_handler(std::function< void(const FormulaT &, Rational, const std::string &)> f)
bool has_objective(const Poly &function)
std::vector< Assertion > mAssertions
std::function< void(const Poly &, bool)> addObjectiveHandler
const auto & assertions() const
std::function< void(const Poly &)> removeObjectiveHandler
void set_remove_objective_handler(std::function< void(const Poly &)> f)
void set_add_assertion_handler(std::function< void(const FormulaT &)> f)
std::vector< std::pair< FormulaT, std::string > > mAnnotatedNames
void set_remove_annotated_name_handler(std::function< void(const FormulaT &)> f)
bool has_soft_assertion(const FormulaT &formula) const
bool has_assertion(const FormulaT &formula) const
bool has_annotated_name_formula(const smtrat::FormulaT &f)
const smtrat::Model & model() const
void set_add_objective_handler(std::function< void(const Poly &, bool)> f)
bool has_annotated_name(const std::string &n)
std::function< void(const FormulaT &)> addAssertionHandler
std::function< void(const FormulaT &)> removeAssertionHandler
void add_soft_assertion(const FormulaT &formula, Rational weight, const std::string &id)
std::vector< Objective > mObjectives
void annotate_name(const std::string &name, const smtrat::FormulaT &f)
bool is_mode(Mode mode) const
std::function< void(const FormulaT &, const std::string &)> addAnnotatedNameHandler
std::function< void(const FormulaT &)> removeSoftAssertionHandler
std::vector< SoftAssertion > mSoftAssertions
void set_logic(carl::Logic logic)
std::function< void(const FormulaT &)> removeAnnotatedNameHandler
void enter_sat(const smtrat::Model &model, const ObjectiveValues &objectiveValues)
void set_add_annotated_name_handler(std::function< void(const FormulaT &, const std::string &)> f)
void add_objective(const Poly &function, bool minimize)
std::vector< std::tuple< size_t, size_t, size_t, size_t > > mBacktrackPoints
const smtrat::ObjectiveValues & objectiveValues() const
std::function< void(const FormulaT &, Rational, const std::string &)> addSoftAssertionHandler
void set_remove_soft_assertion_handler(std::function< void(const FormulaT &)> f)
void set_remove_assertion_handler(std::function< void(const FormulaT &)> f)
Class to create the formulas for axioms.
carl::Formula< Poly > FormulaT
std::vector< std::pair< std::variant< Poly, std::string >, Model::mapped_type > > ObjectiveValues
carl::Model< Rational, Poly > Model
carl::MultivariatePolynomial< Rational > Poly