summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/ematching/trigger.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-05-09 09:33:22 -0500
committerGitHub <noreply@github.com>2019-05-09 09:33:22 -0500
commit9e26baaaa717a5075984c63878e8bc1aa4e78b16 (patch)
tree91a0297c538928289b068e28550cbb98602c492f /src/theory/quantifiers/ematching/trigger.h
parent1694c6b45dfa02ca22146755c89078bfa6b851ef (diff)
Fixes for relational triggers (#2967)
Diffstat (limited to 'src/theory/quantifiers/ematching/trigger.h')
-rw-r--r--src/theory/quantifiers/ematching/trigger.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/theory/quantifiers/ematching/trigger.h b/src/theory/quantifiers/ematching/trigger.h
index f276585d6..d47ea72ee 100644
--- a/src/theory/quantifiers/ematching/trigger.h
+++ b/src/theory/quantifiers/ematching/trigger.h
@@ -319,9 +319,12 @@ class Trigger {
static bool isPureTheoryTrigger( Node n );
/** get trigger weight
*
- * Returns 0 for triggers that are easy to process and 1 otherwise.
- * A trigger is easy to process if it is an atomic trigger, or a relational
- * trigger of the form x ~ g for ~ \in { =, >=, > }.
+ * Intutively, this function classifies how difficult it is to handle the
+ * trigger term n, where the smaller the value, the easier.
+ *
+ * Returns 0 for triggers that are APPLY_UF terms.
+ * Returns 1 for other triggers whose kind is atomic.
+ * Returns 2 otherwise.
*/
static int getTriggerWeight( Node n );
/** Returns whether n is a trigger term with a local theory extension
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback