summaryrefslogtreecommitdiff
path: root/src/expr/expr_template.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-05-27 21:19:36 +0000
committerMorgan Deters <mdeters@gmail.com>2010-05-27 21:19:36 +0000
commit6ac90a806f563981bc25fe06bb0dde35d62da7a9 (patch)
treecbf5f3b1d4877cd6a7469356cfabbea5242d1d8f /src/expr/expr_template.h
parent671a3d6d5ae8a89a1bb846a78f5ec9c064edc655 (diff)
Remove isAtomic() as per 4/27/2010 meeting. Add comments about its potential design for later. Resolves bug 113, invalidates bugs 93 and 94.
Diffstat (limited to 'src/expr/expr_template.h')
-rw-r--r--src/expr/expr_template.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/expr/expr_template.h b/src/expr/expr_template.h
index 99b57b0c2..08dd1d25f 100644
--- a/src/expr/expr_template.h
+++ b/src/expr/expr_template.h
@@ -211,11 +211,19 @@ public:
*/
bool isConst() const;
- /**
- * Check if this is an expression representing a constant.
- * @return true if a constant expression
- */
- bool isAtomic() const;
+ /* A note on isAtomic() and isAtomicFormula() (in CVC3 parlance)..
+ *
+ * It has been decided for now to hold off on implementations of
+ * these functions, as they may only be needed in CNF conversion,
+ * where it's pointless to do a lazy isAtomic determination by
+ * searching through the DAG, and storing it, since the result will
+ * only be used once. For more details see the 4/27/2010 CVC4
+ * developer's meeting notes at:
+ *
+ * http://goedel.cims.nyu.edu/wiki/Meeting_Minutes_-_April_27,_2010#isAtomic.28.29_and_isAtomicFormula.28.29
+ */
+ // bool containsDecision(); // is "atomic"
+ // bool properlyContainsDecision(); // maybe not atomic but all children are
/** Extract a constant of type T */
template <class T>
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback