File tree Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,7 @@ class incremental_goto_checkert
67
67
// / Builds and returns the counterexample
68
68
virtual goto_tracet build_error_trace () const = 0;
69
69
70
- // Outputs an error witness in GraphML format (see `graphml_witnesst`)
71
- virtual void output_error_witness (const goto_tracet &) = 0;
72
-
73
- // Outputs a proof in GraphML format (see `graphml_witnesst`)
74
- virtual void output_proof () = 0;
70
+ virtual const namespacet &get_namespace () const = 0;
75
71
76
72
protected:
77
73
incremental_goto_checkert (const optionst &, ui_message_handlert &);
Original file line number Diff line number Diff line change
1
+ /* ******************************************************************\
2
+
3
+ Module: Interface for outputting GraphML Witnesses for Goto Checkers
4
+
5
+ Author: Daniel Kroening, Peter Schrammel
6
+
7
+ \*******************************************************************/
8
+
9
+ // / \file
10
+ // / Interface for outputting GraphML Witnesses for Goto Checkers
11
+
12
+ #ifndef CPROVER_GOTO_CHECKER_WITNESS_PROVIDER_H
13
+ #define CPROVER_GOTO_CHECKER_WITNESS_PROVIDER_H
14
+
15
+ // / An implementation of `incremental_goto_checkert`
16
+ // / may implement this interface to provide GraphML witnesses.
17
+ class witness_providert
18
+ {
19
+ public:
20
+ // Outputs an error witness in GraphML format (see `graphml_witnesst`)
21
+ virtual void output_error_witness (const goto_tracet &) = 0;
22
+
23
+ // Outputs a proof in GraphML format (see `graphml_witnesst`)
24
+ virtual void output_proof () = 0;
25
+ };
26
+
27
+ #endif // CPROVER_GOTO_CHECKER_WITNESS_PROVIDER_H
You can’t perform that action at this time.
0 commit comments