#include <SGM_vf2.hh>
Public Member Functions | |
virtual bool | compatible (void *pa, void *pb) |
virtual bool | compatibleLabel (const Label &a, const Label &b) |
NodeComparator (const Label &pWildcard, const sgm::Pattern_Interface &pattern, const sgm::Graph_Interface &target) | |
Data Fields | |
const sgm::Pattern_Interface & | pattern |
access to the pattern currently matched More... | |
const Label | pWildcard |
the label defining the wildcard to use More... | |
const sgm::Graph_Interface & | target |
access to the target graph processed More... | |
Comparator class for the node data used in the internal VF-2 data structures
Definition at line 34 of file SGM_vf2.hh.
sgm::SGM_vf2::NodeComparator::NodeComparator | ( | const Label & | pWildcard, |
const sgm::Pattern_Interface & | pattern, | ||
const sgm::Graph_Interface & | target | ||
) |
construction
pWildcard | access to the wildcard label |
pattern | the pattern currently matched |
target | the target graph currently processed |
|
virtual |
comparison of the two pointers and objects.
pa | first label pointer, assumed to be the pattern |
pb | second label pointer, assumed to be the target |
Implements sgm::VF2_MatchingHandler::LabelComparator.
|
virtualinherited |
comparison of the two Label objects.
a | first label |
b | second label |
const sgm::Pattern_Interface& sgm::SGM_vf2::NodeComparator::pattern |
Definition at line 39 of file SGM_vf2.hh.
|
inherited |
Definition at line 109 of file VF2_MatchingHandler.hh.
const sgm::Graph_Interface& sgm::SGM_vf2::NodeComparator::target |
Definition at line 41 of file SGM_vf2.hh.