mirror of
https://github.com/Z3Prover/z3
synced 2025-09-06 01:48:02 +00:00
remove some dependencies on parameter file
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8ab04fb05b
commit
10e203da43
8 changed files with 19 additions and 11 deletions
|
@ -254,7 +254,7 @@ namespace datalog {
|
|||
|
||||
rule_set * operator()(rule_set const & source) {
|
||||
// TODO pc
|
||||
if (!m_context.get_params().bit_blast()) {
|
||||
if (!m_context.bit_blast()) {
|
||||
return 0;
|
||||
}
|
||||
rule_manager& rm = m_context.get_rule_manager();
|
||||
|
|
|
@ -39,7 +39,6 @@ Revision History:
|
|||
#include"dl_mk_karr_invariants.h"
|
||||
#include"dl_mk_backwards.h"
|
||||
#include"dl_mk_loop_counter.h"
|
||||
#include"fixedpoint_params.hpp"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
|
@ -197,7 +196,7 @@ namespace datalog {
|
|||
}
|
||||
|
||||
rule_set * mk_karr_invariants::operator()(rule_set const & source) {
|
||||
if (!m_ctx.get_params().karr()) {
|
||||
if (!m_ctx.karr()) {
|
||||
return 0;
|
||||
}
|
||||
rule_set::iterator it = source.begin(), end = source.end();
|
||||
|
|
|
@ -54,7 +54,6 @@ Revision History:
|
|||
|
||||
#include"dl_mk_magic_symbolic.h"
|
||||
#include"dl_context.h"
|
||||
#include"fixedpoint_params.hpp"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
|
@ -68,7 +67,7 @@ namespace datalog {
|
|||
mk_magic_symbolic::~mk_magic_symbolic() { }
|
||||
|
||||
rule_set * mk_magic_symbolic::operator()(rule_set const & source) {
|
||||
if (!m_ctx.get_params().magic()) {
|
||||
if (!m_ctx.magic()) {
|
||||
return 0;
|
||||
}
|
||||
context& ctx = source.get_context();
|
||||
|
|
|
@ -300,8 +300,7 @@ namespace datalog {
|
|||
}
|
||||
|
||||
rule_set * mk_quantifier_abstraction::operator()(rule_set const & source) {
|
||||
TRACE("dl", tout << "quantify " << source.get_num_rules() << " " << m_ctx.get_params().quantify_arrays() << "\n";);
|
||||
if (!m_ctx.get_params().quantify_arrays()) {
|
||||
if (!m_ctx.quantify_arrays()) {
|
||||
return 0;
|
||||
}
|
||||
unsigned sz = source.get_num_rules();
|
||||
|
|
|
@ -26,7 +26,6 @@ Revision History:
|
|||
#include "dl_mk_quantifier_instantiation.h"
|
||||
#include "dl_context.h"
|
||||
#include "pattern_inference.h"
|
||||
#include "fixedpoint_params.hpp"
|
||||
|
||||
|
||||
namespace datalog {
|
||||
|
@ -251,8 +250,7 @@ namespace datalog {
|
|||
}
|
||||
|
||||
rule_set * mk_quantifier_instantiation::operator()(rule_set const & source) {
|
||||
TRACE("dl", tout << m_ctx.get_params().instantiate_quantifiers() << "\n";);
|
||||
if (!m_ctx.get_params().instantiate_quantifiers()) {
|
||||
if (!m_ctx.instantiate_quantifiers()) {
|
||||
return 0;
|
||||
}
|
||||
bool has_quantifiers = false;
|
||||
|
|
|
@ -115,7 +115,7 @@ namespace datalog {
|
|||
}
|
||||
|
||||
rule_set * mk_scale::operator()(rule_set const & source) {
|
||||
if (!m_ctx.get_params().scale()) {
|
||||
if (!m_ctx.scale()) {
|
||||
return 0;
|
||||
}
|
||||
rule_manager& rm = source.get_rule_manager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue