diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2021-06-21 12:14:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 12:14:18 -0700 |
commit | a72771b2f04eb5f761c9db59435165d7cdcdf688 (patch) | |
tree | cbc1f017578712a147a52d27c12488a03ba231b7 /src/theory/bv/bv_solver.h | |
parent | bf3af55b4509ec2abf8806187d8c1765e2d8330c (diff) | |
parent | 331187d557b2c54b079de6348ff1f597a72f50a2 (diff) |
Merge branch 'master' into rmCDAttrrmCDAttr
Diffstat (limited to 'src/theory/bv/bv_solver.h')
-rw-r--r-- | src/theory/bv/bv_solver.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/theory/bv/bv_solver.h b/src/theory/bv/bv_solver.h index 8ff4318c0..6ccc6c7c1 100644 --- a/src/theory/bv/bv_solver.h +++ b/src/theory/bv/bv_solver.h @@ -32,7 +32,7 @@ class BVSolver BVSolver(TheoryState& state, TheoryInferenceManager& inferMgr) : d_state(state), d_im(inferMgr){}; - virtual ~BVSolver(){}; + virtual ~BVSolver() {} /** * Returns true if we need an equality engine. If so, we initialize the @@ -71,7 +71,7 @@ class BVSolver virtual bool needsCheckLastEffort() { return false; } - virtual void propagate(Theory::Effort e){}; + virtual void propagate(Theory::Effort e) {} virtual TrustNode explain(TNode n) { @@ -80,17 +80,20 @@ class BVSolver return TrustNode::null(); } + /** Additionally collect terms relevant for collecting model values. */ + virtual void computeRelevantTerms(std::set<Node>& termSet) {} + /** Collect model values in m based on the relevant terms given by termSet */ virtual bool collectModelValues(TheoryModel* m, const std::set<Node>& termSet) = 0; virtual std::string identify() const = 0; - virtual TrustNode ppRewrite(TNode t) { return TrustNode::null(); }; + virtual TrustNode ppRewrite(TNode t) { return TrustNode::null(); } - virtual void ppStaticLearn(TNode in, NodeBuilder& learned){}; + virtual void ppStaticLearn(TNode in, NodeBuilder& learned) {} - virtual void presolve(){}; + virtual void presolve() {} virtual void notifySharedTerm(TNode t) {} |