Skip to content

Commit 30b6353

Browse files
Decision procedure interface for incremental solving with contexts
Provides push/pop interface
1 parent a17fb36 commit 30b6353

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*******************************************************************\
2+
3+
Module: Decision procedure with incremental solving with contexts
4+
5+
Author: Peter Schrammel
6+
7+
\*******************************************************************/
8+
9+
/// \file
10+
/// Decision procedure with incremental solving with contexts
11+
12+
#ifndef CPROVER_SOLVERS_PROP_DECISION_PROCEDURE_CONTEXTS_H
13+
#define CPROVER_SOLVERS_PROP_DECISION_PROCEDURE_CONTEXTS_H
14+
15+
#include "decision_procedure_assumptions.h"
16+
17+
class decision_procedure_contextst : public decision_procedure_assumptionst
18+
{
19+
public:
20+
/// Push a new context on the stack
21+
/// This context becomes a child context nested in the current context.
22+
virtual void push_context() = 0;
23+
24+
/// Pop the current context
25+
virtual void pop_context() = 0;
26+
27+
virtual ~decision_procedure_contextst() = default;
28+
};
29+
30+
#endif // CPROVER_SOLVERS_PROP_DECISION_PROCEDURE_CONTEXTS_H

0 commit comments

Comments
 (0)