Counts matches.
More...
#include <MR_Counting.hh>
A sgm::Match_Reporter implementation that only counts the number of
reported matches.
- Author
- Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/
Definition at line 16 of file MR_Counting.hh.
sgm::MR_Counting::MR_Counting |
( |
| ) |
|
|
inline |
sgm::MR_Counting::~MR_Counting |
( |
| ) |
|
|
inlinevirtual |
size_t sgm::MR_Counting::getHits |
( |
void |
| ) |
const |
|
inline |
Access to the number of reported matches so far
- Returns
- number of matches
Definition at line 92 of file MR_Counting.hh.
Increases the internal counter, nothing else.
- Parameters
-
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 74 of file MR_Counting.hh.
void sgm::MR_Counting::resetHits |
( |
void |
| ) |
|
|
inline |
size_t sgm::MR_Counting::numberOfMatches |
|
protected |
The documentation for this class was generated from the following file: