File tree 1 file changed +7
-0
lines changed 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,14 @@ class decision_proceduret
34
34
void set_to_false (const exprt &expr);
35
35
36
36
// / Convert a Boolean expression and return the corresponding literal
37
+ // / This will go away, use handle(expr) instead
37
38
virtual literalt convert (const exprt &expr) = 0;
38
39
40
+ // / Generate a handle for an expression; this offers an efficient way
41
+ // / to refer to the expression in subsequent calls to \ref get or
42
+ // / \ref set_to
43
+ virtual exprt handle (const exprt &expr) = 0;
44
+
39
45
// / Result of running the decision procedure
40
46
enum class resultt
41
47
{
@@ -54,6 +60,7 @@ class decision_proceduret
54
60
55
61
// / Return value of literal \p l from satisfying assignment.
56
62
// / Return tvt::UNKNOWN if not available
63
+ // / This will go away, use get instead.
57
64
virtual tvt l_get (literalt l) const = 0;
58
65
59
66
// / Print satisfying assignment to \p out
You can’t perform that action at this time.
0 commit comments