[API] Add mode argument for `Solver::blockModel()` (#8521)
authorAndres Noetzli <andres.noetzli@gmail.com>
Fri, 1 Apr 2022 16:26:14 +0000 (09:26 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Apr 2022 16:26:14 +0000 (16:26 +0000)
commitf02847cdee29a810dbf8e25af1502458fcbdd562
tree6e3c89bbaec1b3180b46b04e3834afcd45d4cf4f
parent6987d112496849d72b34d93d482c3555d1634fea
[API] Add mode argument for `Solver::blockModel()` (#8521)

This commit changes Solver::blockModel() to take a mode as an argument
instead of relying on an option.
27 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/java/CMakeLists.txt
src/api/java/genenums.py.in
src/api/java/io/github/cvc5/Solver.java
src/api/java/jni/solver.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
src/options/smt_options.toml
src/parser/smt2/Smt2.g
src/parser/smt2/smt2.cpp
src/parser/smt2/smt2.h
src/printer/printer.cpp
src/printer/printer.h
src/printer/smt2/smt2_printer.cpp
src/printer/smt2/smt2_printer.h
src/smt/command.cpp
src/smt/command.h
src/smt/model_blocker.cpp
src/smt/model_blocker.h
src/smt/solver_engine.cpp
src/smt/solver_engine.h
test/regress/cli/regress1/model-blocker-simple.smt2
test/regress/cli/regress1/model-blocker-values.smt2
test/unit/api/cpp/solver_black.cpp
test/unit/api/java/SolverTest.java
test/unit/api/python/test_solver.py