diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-05-09 09:33:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 09:33:22 -0500 |
commit | 9e26baaaa717a5075984c63878e8bc1aa4e78b16 (patch) | |
tree | 91a0297c538928289b068e28550cbb98602c492f /src/theory/quantifiers/ematching/trigger.h | |
parent | 1694c6b45dfa02ca22146755c89078bfa6b851ef (diff) |
Fixes for relational triggers (#2967)
Diffstat (limited to 'src/theory/quantifiers/ematching/trigger.h')
-rw-r--r-- | src/theory/quantifiers/ematching/trigger.h | 9 |
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 |