SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
#include <Executor.h>
Public Types | |
typedef types::AttributeValue | Value |
Public Member Functions | |
Executor (Strategy &solver) | |
~Executor () | |
void | add (const smtrat::FormulaT &f) |
void | addSoft (const smtrat::FormulaT &f, smtrat::Rational weight, const std::string &id) |
void | annotateName (const smtrat::FormulaT &f, const std::string &name) |
void | check () |
void | declareFun (const carl::Variable &) |
void | declareSort (const std::string &, const unsigned &) |
void | defineSort (const std::string &, const std::vector< std::string > &, const carl::Sort &) |
void | qe () |
void | exit () |
void | getAssertions () |
void | getAllModels () |
void | getAssignment () |
void | getModel () |
void | getProof () |
void | getObjectives () |
void | getUnsatCore () |
void | getValue (const std::vector< carl::Variable > &) |
void | addObjective (const smtrat::Poly &p, smtrat::parser::OptimizationType ot) |
void | pop (std::size_t n) |
void | push (std::size_t n) |
void | reset () |
void | resetAssertions () |
void | setLogic (const carl::Logic &logic) |
int | getExitCode () const |
void | addInstruction (std::function< void()> bind) |
bool | hasInstructions () const |
void | runInstructions () |
void | setArtificialVariables (std::vector< smtrat::ModelVariable > &&vars) |
void | cleanModel (smtrat::Model &model) const |
bool | has_info (const std::string &key) const |
const auto & | get_info (const std::string &key) const |
template<typename T > | |
T | option (const std::string &key) const |
bool | printInstruction () const |
std::ostream & | diagnostic () |
void | diagnostic (const std::string &s) |
std::ostream & | regular () |
void | regular (const std::string &s) |
OutputWrapper | error () |
OutputWrapper | warn () |
OutputWrapper | info () |
virtual void | echo (const std::string &s) |
void | getInfo (const std::string &key) |
void | getOption (const std::string &key) |
void | setInfo (const Attribute &attr) |
void | setOption (const Attribute &option) |
Data Fields | |
smtrat::Answer | lastAnswer |
Protected Member Functions | |
void | setStream (const std::string &s, std::ostream &os) |
Protected Attributes | |
VariantMap< std::string, Value > | infos |
VariantMap< std::string, Value > | options |
std::ostream | mRegular |
std::ostream | mDiagnostic |
std::map< std::string, std::ofstream > | streams |
Private Attributes | |
execution::ExecutionState | state |
Strategy & | solver |
MaxSMT< Strategy, MaxSMTStrategy::LINEAR_SEARCH > | maxsmt |
Optimization< Strategy > | optimization |
UnsatCore< Strategy, UnsatCoreStrategy::ModelExclusion > | unsatcore |
int | exitCode |
std::queue< std::function< void()> > | instructionQueue |
std::vector< smtrat::ModelVariable > | mArtificialVariables |
Definition at line 20 of file Executor.h.
|
inherited |
Definition at line 48 of file InstructionHandler.h.
|
inline |
|
inline |
Definition at line 63 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 65 of file Executor.h.
|
inlineinherited |
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 283 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 78 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 90 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 103 of file Executor.h.
|
inlineinherited |
Definition at line 69 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 171 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 176 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 179 of file Executor.h.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Definition at line 146 of file InstructionHandler.h.
|
inlineinherited |
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 205 of file Executor.h.
|
inlineinherited |
Definition at line 81 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 218 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 207 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 227 of file Executor.h.
|
inline |
|
inlineinherited |
Definition at line 154 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 233 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 243 of file Executor.h.
|
inlineinherited |
Definition at line 160 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 240 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 262 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 278 of file Executor.h.
|
inlineinherited |
Definition at line 78 of file InstructionHandler.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 85 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 292 of file Executor.h.
|
inlineinherited |
Definition at line 88 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 300 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 183 of file Executor.h.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Reimplemented from smtrat::parser::InstructionHandler.
Definition at line 308 of file Executor.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 317 of file Executor.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 66 of file InstructionHandler.h.
|
inlineinherited |
Definition at line 175 of file InstructionHandler.h.
|
inlinevirtual |
Implements smtrat::parser::InstructionHandler.
Definition at line 320 of file Executor.h.
|
inlineinherited |
Definition at line 181 of file InstructionHandler.h.
|
inlineprotectedinherited |
|
inlineinherited |
|
private |
Definition at line 26 of file Executor.h.
|
protectedinherited |
Definition at line 75 of file InstructionHandler.h.
|
privateinherited |
Definition at line 51 of file InstructionHandler.h.
smtrat::Answer smtrat::Executor< Strategy >::lastAnswer |
Definition at line 28 of file Executor.h.
|
privateinherited |
Definition at line 52 of file InstructionHandler.h.
|
private |
Definition at line 23 of file Executor.h.
|
protectedinherited |
Definition at line 94 of file InstructionHandler.h.
|
protectedinherited |
Definition at line 93 of file InstructionHandler.h.
|
private |
Definition at line 24 of file Executor.h.
|
protectedinherited |
Definition at line 76 of file InstructionHandler.h.
|
private |
Definition at line 22 of file Executor.h.
|
private |
Definition at line 21 of file Executor.h.
|
protectedinherited |
Definition at line 95 of file InstructionHandler.h.
|
private |
Definition at line 25 of file Executor.h.