diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-11-15 22:34:18 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-11-15 22:34:18 +0000 |
commit | 78af7dfd469b43c17c3ad582a094068484955037 (patch) | |
tree | 2d05cf1390731e1c7fd8d433768c9b436ff60baf /src/prop/sat.h | |
parent | 15193d5207679b24cd2f310f71c9428971564b53 (diff) |
Bindings work (ocaml bindings are now sort of working); also minor cleanup
Diffstat (limited to 'src/prop/sat.h')
-rw-r--r-- | src/prop/sat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/prop/sat.h b/src/prop/sat.h index 13b32f18d..be3ed244b 100644 --- a/src/prop/sat.h +++ b/src/prop/sat.h @@ -108,8 +108,8 @@ public: virtual void addClause(SatClause& clause, bool removable) = 0; /** Create a new boolean variable in the solver. */ virtual SatVariable newVar(bool theoryAtom = false) = 0; - /** Get the current decision level of the solver */ - virtual int getLevel() const = 0; + /** Get the current user assertion level of the solver */ + virtual int getAssertionLevel() const = 0; /** Unregister the variable (of the literal) from solving */ virtual void unregisterVar(SatLiteral lit) = 0; /** Register the variable (of the literal) for solving */ @@ -240,7 +240,7 @@ public: /** Call modelValue() when the search is done.*/ SatLiteralValue modelValue(SatLiteral l); - int getLevel() const; + int getAssertionLevel() const; void push(); @@ -341,7 +341,7 @@ inline void SatSolver::pop() { d_minisat->pop(); } -inline int SatSolver::getLevel() const { +inline int SatSolver::getAssertionLevel() const { return d_minisat->getAssertionLevel(); } |