summaryrefslogtreecommitdiff
path: root/src/theory/theory_state.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-09-11 16:01:11 -0500
committerGitHub <noreply@github.com>2020-09-11 16:01:11 -0500
commitb7bbe9a3bc30f41d1775a187ccc732aaeb41eaa1 (patch)
tree8f4d23e04f93aef397c2adafe2e671e2907671ce /src/theory/theory_state.h
parent2b7a0168bddfd2b840171aa8b9681f16d606c0b8 (diff)
Move finite model minimization to UF last call effort (#5050)
This moves model minimization happen in TheoryUF's last call effort check instead of being a custom call in quantifiers finite model finding. This is both a better design and avoids bugs when quantifiers are not enabled (for QF_UF+cardinality constraints). Fixes #4850.
Diffstat (limited to 'src/theory/theory_state.h')
-rw-r--r--src/theory/theory_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/theory_state.h b/src/theory/theory_state.h
index 4ae381e78..633937991 100644
--- a/src/theory/theory_state.h
+++ b/src/theory/theory_state.h
@@ -74,6 +74,11 @@ class TheoryState
/** Returns true if lit is a SAT literal. */
virtual bool isSatLiteral(TNode lit) const;
+ /**
+ * Returns pointer to model. This model is only valid during last call effort
+ * check.
+ */
+ TheoryModel* getModel();
protected:
/** Pointer to the SAT context object used by the theory. */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback