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

Pattern description to be matched. More...

#include <Pattern.hh>

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

Data Structures

class  Match_Constraint
 

Public Types

typedef std::vector
< Match_Constraint * > 
ConstraintVec
 container of matching constraints More...
 

Public Member Functions

virtual const ConstraintVecgetConstraints (void) const =0
 
virtual const Graph_InterfacegetPatternGraph (void) const =0
 
virtual const std::string * getUsedWildcard (void) const =0
 
virtual bool operator!= (const Pattern_Interface &toCompare) const
 
virtual bool operator== (const Pattern_Interface &toCompare) const
 
virtual ~Pattern_Interface ()
 destruction More...
 

Detailed Description

     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.

Member Typedef Documentation

Definition at line 129 of file Pattern.hh.

Constructor & Destructor Documentation

virtual sgm::Pattern_Interface::~Pattern_Interface ( )
virtual

Member Function Documentation

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

Access to the pattern graph to be matched

Returns
the pattern graph

Implemented in sgm::Pattern, and ggl::LeftSidePattern.

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
toComparethe Pattern to compare to
Returns
true if both describe the different patterns
virtual bool sgm::Pattern_Interface::operator== ( const Pattern_Interface toCompare) const
virtual

Equality comparison

Parameters
toComparethe Pattern to compare to
Returns
true if both describe the same pattern

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