#include <MR_Storing.hh>
Public Types | |
typedef STL_INSERT_CONTAINER | Storage |
Public Member Functions | |
MR_StoringInsertT (STL_INSERT_CONTAINER &storage) | |
virtual void | reportHit (const Pattern_Interface &pattern, const Graph_Interface &target, const Match &match) |
virtual | ~MR_StoringInsertT () |
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_INSERT_CONTAINER should allow for "push_back(Match)".
Definition at line 102 of file MR_Storing.hh.
typedef STL_INSERT_CONTAINER sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >::Storage |
Definition at line 106 of file MR_Storing.hh.
|
inline |
Construction
storage | the STL_INSERT_CONTAINER to write to |
Definition at line 148 of file MR_Storing.hh.
|
inlinevirtual |
Definition at line 155 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 162 of file MR_Storing.hh.
|
protected |
Definition at line 111 of file MR_Storing.hh.