UnCoVer (Using Coverability for Verification)
|
The BackwardResultHandler is an interface to handle intermediate results produced by the backward search. More...
#include <BackwardResultHandler.h>
Public Member Functions | |
virtual | ~BackwardResultHandler () |
Destroys the current BackwardResultHandler. | |
virtual void | setOldGTS (graphs::GTS_csp gts)=0 |
Sets the old unprepared GTS. More... | |
virtual void | setPreparedGTS (PreparedGTS_csp gts)=0 |
Sets the new prepared GTS. More... | |
virtual void | setFirstGraphs (shared_ptr< const vector< graphs::Hypergraph_sp >> graphs)=0 |
Sets the initial set of graphs from which the backward search is started. More... | |
virtual void | wasDeletedBecauseOf (IDType deletedGraph, IDType reasonGraph)=0 |
Stores that the graph with the first ID was deleted because it was subsumed by the graph with the second ID. More... | |
virtual void | wasNoValidGraph (IDType deletedGraph)=0 |
Stores that the graph with the given ID did not belong to the restricted set of graphs and was therefore dropped. More... | |
virtual void | wasGeneratedByFrom (graphs::Hypergraph_sp genGraph, IDType rule, IDType srcGraph)=0 |
Stores that the given graph was generated from the second graph by the given rule. More... | |
virtual void | startingNewBackwardStep ()=0 |
Informs that the next backward step has begun. | |
virtual void | finishedBackwardStep ()=0 |
Informs that the current backward step has ended. | |
Protected Member Functions | |
BackwardResultHandler () | |
Creates a new BackwardResultHandler. More... | |
The BackwardResultHandler is an interface to handle intermediate results produced by the backward search.
Which and how intermediate results are stored depends on the implementation.
|
inlineprotected |
Creates a new BackwardResultHandler.
Can only be called from a subclass.
|
pure virtual |
Sets the initial set of graphs from which the backward search is started.
graphs | the initial set of graphs for the backward search |
Implemented in InstantWriterResultHandler.
|
pure virtual |
Sets the old unprepared GTS.
gts | the old unprepared GTS |
Implemented in InstantWriterResultHandler.
|
pure virtual |
Sets the new prepared GTS.
gts | the new prepared GTS |
Implemented in InstantWriterResultHandler.
Stores that the graph with the first ID was deleted because it was subsumed by the graph with the second ID.
deletedGraph | the subsumed graph |
reasonGraph | the graph subsuming the first graph |
Implemented in InstantWriterResultHandler.
|
pure virtual |
Stores that the given graph was generated from the second graph by the given rule.
genGraph | the graph generated |
rule | the ID of the rule used to generate the first graph |
srcGraph | the ID of the graph used to generate the first graph |
Implemented in InstantWriterResultHandler.
|
pure virtual |
Stores that the graph with the given ID did not belong to the restricted set of graphs and was therefore dropped.
deletedGraph | the graph violating the restriction proposed by the backward search |
Implemented in InstantWriterResultHandler.