Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Member Functions | Data Fields
sgm::VF2_MatchingHandler::LabelComparator Class Referenceabstract

#include <VF2_MatchingHandler.hh>

Inheritance diagram for sgm::VF2_MatchingHandler::LabelComparator:
Inheritance graph
[legend]

Public Member Functions

virtual bool compatible (void *pa, void *pb)=0
 
virtual bool compatibleLabel (const Label &a, const Label &b)
 
 LabelComparator (const Label pWildcard)
 

Data Fields

const Label pWildcard
 the label defining the wildcard to use More...
 

Detailed Description

Comparator class for the node label used in the internal VF-2 data structures

Definition at line 106 of file VF2_MatchingHandler.hh.

Constructor & Destructor Documentation

sgm::VF2_MatchingHandler::LabelComparator::LabelComparator ( const Label  pWildcard)

construction

Parameters
pWildcardaccess to the wildcard label

Member Function Documentation

virtual bool sgm::VF2_MatchingHandler::LabelComparator::compatible ( void *  pa,
void *  pb 
)
pure virtual

comparison of the two pointers.

Parameters
pafirst label pointer
pbsecond label pointer
Returns
true if pa and pb are both != NULL and pa equals pb

Implemented in sgm::SGM_vf2::EdgeLabelComparator, sgm::GM_vf2::EdgeLabelComparator, sgm::SGM_vf2::NodeComparator, and sgm::GM_vf2::NodeComparator.

virtual bool sgm::VF2_MatchingHandler::LabelComparator::compatibleLabel ( const Label a,
const Label b 
)
virtual

comparison of the two Label objects.

Parameters
afirst label
bsecond label
Returns
true if a and b are both Label != 0 and either of them is a wildcard or both are equal

Field Documentation

const Label sgm::VF2_MatchingHandler::LabelComparator::pWildcard

Definition at line 109 of file VF2_MatchingHandler.hh.


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