summaryrefslogtreecommitdiff
path: root/src/prop/sat_solver.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-02-16 16:36:57 -0800
committerGitHub <noreply@github.com>2021-02-16 16:36:57 -0800
commit20d266f9e641062004633e24e74878791be2b919 (patch)
treeb5f7f463f26f2a4c8ad84511e9484f675e9f0ac7 /src/prop/sat_solver.h
parent0bd00a9a25ff2358cb613a964186c1a13c5f351d (diff)
Add bit-level propagation support to BV bitblast solver. (#5906)
This commit adds support for bit-level propagation for the BV bitblast solver to quickly detect conflicts on effort levels != FULL. Bit-level propagation for the bitblast solver is by default disabled for now. Further, bit-blasting of facts is now handled more lazily with a bit-blast queue.
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r--src/prop/sat_solver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h
index 896233f41..d421155ae 100644
--- a/src/prop/sat_solver.h
+++ b/src/prop/sat_solver.h
@@ -81,6 +81,13 @@ public:
return SAT_VALUE_UNKNOWN;
};
+ /**
+ * Tell SAT solver to only do propagation on next solve().
+ *
+ * @return true if feature is supported, otherwise false.
+ */
+ virtual bool setPropagateOnly() { return false; }
+
/** Interrupt the solver */
virtual void interrupt() = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback