Stores each match in an STL container. More...
#include <MR_Storing.hh>
Public Types | |
typedef STL_PUSHBACK_CONTAINER | Storage |
Public Member Functions | |
MR_StoringT (STL_PUSHBACK_CONTAINER &storage) | |
virtual void | reportHit (const Pattern_Interface &pattern, const Graph_Interface &target, const Match &match) |
virtual | ~MR_StoringT () |
Protected Attributes | |
Storage & | storage |
where to store the matches in using its "push_back" method More... | |
A sgm::Match_Reporter implementation that stores each match mapping within a provided STL container. STL_PUSHBACK_CONTAINER should allow for "push_back(Match)".
Definition at line 19 of file MR_Storing.hh.
typedef STL_PUSHBACK_CONTAINER sgm::MR_StoringT< STL_PUSHBACK_CONTAINER >::Storage |
Definition at line 23 of file MR_Storing.hh.
|
inline |
Construction
storage | the STL_PUSHBACK_CONTAINER to write to |
Definition at line 65 of file MR_Storing.hh.
|
inlinevirtual |
Definition at line 72 of file MR_Storing.hh.
|
inlinevirtual |
Adds the match to the STL container without further processing.
pattern | the pattern graph that was searched for |
target | the graph the pattern was found within |
match | contains the indices of the matched pattern nodes in the target graph. match[i] corresponds to the mapping of the ith vertex in the pattern graph. |
Implements sgm::Match_Reporter.
Definition at line 79 of file MR_Storing.hh.
|
protected |
Definition at line 28 of file MR_Storing.hh.