diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-09-04 14:34:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-04 14:34:21 -0500 |
commit | d367c9f9b299a15fb970d62df04d3df22b7ca08d (patch) | |
tree | 6629e5c12cc8629398e81bcf15608f5493536b6b /src/theory/quantifiers/quant_conflict_find.h | |
parent | 32530dad5747665df4086abd2c4fabff15bb7d12 (diff) |
Make quantifiers strategies exit immediately when in conflict (#2099)
Diffstat (limited to 'src/theory/quantifiers/quant_conflict_find.h')
-rw-r--r-- | src/theory/quantifiers/quant_conflict_find.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/theory/quantifiers/quant_conflict_find.h b/src/theory/quantifiers/quant_conflict_find.h index d76495b52..0469e958b 100644 --- a/src/theory/quantifiers/quant_conflict_find.h +++ b/src/theory/quantifiers/quant_conflict_find.h @@ -90,7 +90,13 @@ public: std::vector< MatchGen > d_children; short d_type; bool d_type_not; - void reset_round( QuantConflictFind * p ); + /** reset round + * + * Called once at the beginning of each full/last-call effort, prior to + * processing this match generator. This method returns false if the reset + * failed, e.g. if a conflict was encountered during term indexing. + */ + bool reset_round(QuantConflictFind* p); void reset( QuantConflictFind * p, bool tgt, QuantInfo * qi ); bool getNextMatch( QuantConflictFind * p, QuantInfo * qi ); bool isValid() { return d_type!=typ_invalid; } |