UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | List of all members
BackwardResultHandler Class Referenceabstract

The BackwardResultHandler is an interface to handle intermediate results produced by the backward search. More...

#include <BackwardResultHandler.h>

Inheritance diagram for BackwardResultHandler:
Inheritance graph
[legend]

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...
 

Detailed Description

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.

Author
Jan Stückrath

Constructor & Destructor Documentation

BackwardResultHandler ( )
inlineprotected

Creates a new BackwardResultHandler.

Can only be called from a subclass.

Member Function Documentation

virtual void setFirstGraphs ( shared_ptr< const vector< graphs::Hypergraph_sp >>  graphs)
pure virtual

Sets the initial set of graphs from which the backward search is started.

Parameters
graphsthe initial set of graphs for the backward search

Implemented in InstantWriterResultHandler.

virtual void setOldGTS ( graphs::GTS_csp  gts)
pure virtual

Sets the old unprepared GTS.

Parameters
gtsthe old unprepared GTS

Implemented in InstantWriterResultHandler.

virtual void setPreparedGTS ( PreparedGTS_csp  gts)
pure virtual

Sets the new prepared GTS.

Parameters
gtsthe new prepared GTS

Implemented in InstantWriterResultHandler.

virtual void wasDeletedBecauseOf ( IDType  deletedGraph,
IDType  reasonGraph 
)
pure virtual

Stores that the graph with the first ID was deleted because it was subsumed by the graph with the second ID.

Parameters
deletedGraphthe subsumed graph
reasonGraphthe graph subsuming the first graph

Implemented in InstantWriterResultHandler.

virtual void wasGeneratedByFrom ( graphs::Hypergraph_sp  genGraph,
IDType  rule,
IDType  srcGraph 
)
pure virtual

Stores that the given graph was generated from the second graph by the given rule.

Parameters
genGraphthe graph generated
rulethe ID of the rule used to generate the first graph
srcGraphthe ID of the graph used to generate the first graph

Implemented in InstantWriterResultHandler.

virtual void wasNoValidGraph ( IDType  deletedGraph)
pure virtual

Stores that the graph with the given ID did not belong to the restricted set of graphs and was therefore dropped.

Parameters
deletedGraphthe graph violating the restriction proposed by the backward search

Implemented in InstantWriterResultHandler.


The documentation for this class was generated from the following file: