Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Member Functions
sgm::Match_Reporter Class Referenceabstract

Interface graph match reporting. More...

#include <Match_Reporter.hh>

Inheritance diagram for sgm::Match_Reporter:
Inheritance graph
[legend]

Public Member Functions

virtual void reportHit (const Pattern_Interface &pattern, const Graph_Interface &target, const Match &match)=0
 
virtual ~Match_Reporter ()
 

Detailed Description

     An interface description of the class used by sgm::SubGraphMatching objects
     to report a match of the pattern in the target graph.
Author
Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/

Definition at line 17 of file Match_Reporter.hh.

Constructor & Destructor Documentation

virtual sgm::Match_Reporter::~Match_Reporter ( )
inlinevirtual

Definition at line 22 of file Match_Reporter.hh.

Member Function Documentation

virtual void sgm::Match_Reporter::reportHit ( const Pattern_Interface pattern,
const Graph_Interface target,
const Match match 
)
pure virtual

Reports a match. The match is encoded using a vector. The length of the vector corresponds to the number of vertices in the pattern and position i encodes the matched position of pattern node i in the target graph.

Parameters
patternthe pattern graph that was searched for
targetthe graph the pattern was found within
matchcontains 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.

Implemented in ggl::chem::MoleculeDecomposition, ggl::chem::MR_Reactions, sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >, ggl::MR_ApplyRule, sgm::MR_SymmBreak, sgm::MR_StoringT< STL_PUSHBACK_CONTAINER >, sgm::MR_stream, and sgm::MR_Counting.


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