![]() |
SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
#include <MaxSMT.h>


Public Member Functions | |
| MaxSMT (Solver &s) | |
| void | add_soft_formula (const FormulaT &formula, Rational weight, const std::string &id) |
| void | remove_soft_formula (const FormulaT &formula) |
| void | reset () |
| bool | active () const |
| std::tuple< Answer, Model, ObjectiveValues > | compute () |
Private Member Functions | |
| bool | satisfied (const FormulaT &formula, const Model &model) |
Private Attributes | |
| Solver & | mSolver |
| std::vector< FormulaT > | mSoftFormulas |
| std::map< FormulaT, std::string > | mSoftFormulaIds |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
private |
|
private |