summaryrefslogtreecommitdiff
path: root/src/prop/cnf_stream.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan@cs.nyu.edu>2013-04-03 17:55:58 -0400
committerDejan Jovanović <dejan@cs.nyu.edu>2013-04-03 17:55:58 -0400
commitbb6c74a7bb306de8b7c5d7e9701b3524eda68f4a (patch)
tree17482f7fcc4f5af3ae46c9428e942f05f7f8abf8 /src/prop/cnf_stream.h
parent62748da1e72dbcc5c6daef88ad899706de8ae7db (diff)
* changing the bitblast-eager to bitblast on pre-register
* the newVar interface of the sat solver now changed to include (isTheoryLiteral, preRegister, canEliminate) * when bitblast-eager all bv atoms are (theory=false, prereg = true, canelim = true) * bitblast-eager implies decision=internal
Diffstat (limited to 'src/prop/cnf_stream.h')
-rw-r--r--src/prop/cnf_stream.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/prop/cnf_stream.h b/src/prop/cnf_stream.h
index cbcca5e85..1c66be911 100644
--- a/src/prop/cnf_stream.h
+++ b/src/prop/cnf_stream.h
@@ -146,11 +146,12 @@ protected:
* Acquires a new variable from the SAT solver to represent the node
* and inserts the necessary data it into the mapping tables.
* @param node a formula
- * @param theoryLiteral whether this literal a theory literal (and
- * therefore the theory is to be informed when set to true/false)
+ * @param isTheoryAtom is this a theory atom that needs to be asserted to theory
+ * @param preRegister whether to preregister the atom with the theory
+ * @param canEliminate whether the sat solver can safely eliminate this variable
* @return the literal corresponding to the formula
*/
- SatLiteral newLiteral(TNode node, bool theoryLiteral = false);
+ SatLiteral newLiteral(TNode node, bool isTheoryAtom = false, bool preRegister = false, bool canEliminate = true);
/**
* Constructs a new literal for an atom and returns it. Calls
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback