Add get-difficulty to the API (#7194)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 14 Sep 2021 23:29:22 +0000 (18:29 -0500)
committerGitHub <noreply@github.com>
Tue, 14 Sep 2021 23:29:22 +0000 (23:29 +0000)
commit57dc21b3ee7ba8b991712361fc8804e1e584e674
tree1210277e5b3d3080807928a566a3a227fc34aba6
parent560391cf71c1004716168a979782875de98b867f
Add get-difficulty to the API (#7194)

Adds smt2 parsing, printing and API support for get-difficulty. Adds unit tests.
16 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/main/command_executor.cpp
src/options/main_options.toml
src/parser/smt2/Smt2.g
src/printer/printer.cpp
src/printer/printer.h
src/printer/smt2/smt2_printer.cpp
src/printer/smt2/smt2_printer.h
src/prop/minisat/core/Solver.cc
src/smt/command.cpp
src/smt/command.h
src/smt/set_defaults.cpp
src/smt/smt_engine.cpp
src/smt/smt_engine.h
test/unit/api/solver_black.cpp