Pattern description to be matched.
More...
#include <Pattern.hh>
Abstract pattern description to be used in graph matching algorithms.
- Author
- Martin Mann - 2010 - http://www.bioinf.uni-freiburg.de/~mmann/
Definition at line 18 of file Pattern.hh.
virtual sgm::Pattern_Interface::~Pattern_Interface |
( |
| ) |
|
|
virtual |
virtual const ConstraintVec& sgm::Pattern_Interface::getConstraints |
( |
void |
| ) |
const |
|
pure virtual |
Access to the matching constraints that have to be fulfilled by a match of this pattern graph
- Returns
- the matching constraints to validate
Implemented in sgm::Pattern, and ggl::LeftSidePattern.
virtual const Graph_Interface& sgm::Pattern_Interface::getPatternGraph |
( |
void |
| ) |
const |
|
pure virtual |
virtual const std::string* sgm::Pattern_Interface::getUsedWildcard |
( |
void |
| ) |
const |
|
pure virtual |
Access to the wildcard to be used when matching this pattern onto some other graph.
- Returns
- the wildcard string to be used for edge and node labels, or NULL if no wildcard should be applied
Implemented in sgm::Pattern, and ggl::LeftSidePattern.
virtual bool sgm::Pattern_Interface::operator!= |
( |
const Pattern_Interface & |
toCompare | ) |
const |
|
virtual |
Inequality comparison
- Parameters
-
- Returns
- true if both describe the different patterns
virtual bool sgm::Pattern_Interface::operator== |
( |
const Pattern_Interface & |
toCompare | ) |
const |
|
virtual |
Equality comparison
- Parameters
-
- Returns
- true if both describe the same pattern
The documentation for this class was generated from the following file: