File tree Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,6 @@ 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;
75
-
76
70
protected:
77
71
incremental_goto_checkert (const optionst &, ui_message_handlert &);
78
72
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
+ class goto_tracet ;
16
+
17
+ // / An implementation of `incremental_goto_checkert`
18
+ // / may implement this interface to provide GraphML witnesses.
19
+ class witness_providert
20
+ {
21
+ public:
22
+ virtual ~witness_providert () = default ;
23
+
24
+ // Outputs an error witness in GraphML format (see `graphml_witnesst`)
25
+ virtual void output_error_witness (const goto_tracet &) = 0;
26
+
27
+ // Outputs a proof in GraphML format (see `graphml_witnesst`)
28
+ virtual void output_proof () = 0;
29
+ };
30
+
31
+ #endif // CPROVER_GOTO_CHECKER_WITNESS_PROVIDER_H
You can’t perform that action at this time.
0 commit comments