Generated on Wed Apr 29 2015 11:51:40 for GGL-4.1.2 by doxygen 1.8.3.1
Pattern_Automorphism.hh
Go to the documentation of this file.
1 #ifndef SGM_PATTERN_AUTOMORPHISM_HH_
2 #define SGM_PATTERN_AUTOMORPHISM_HH_
3 
4 #include "sgm/Match.hh"
5 #include "sgm/Pattern.hh"
6 
7 
8 namespace sgm {
9 
10  /*! @brief Automorphism description for patterns
11  *
12  * An encoding of what matches of a pattern are symmetric to other.
13  *
14  * @author Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/
15  *
16  */
18 
19  public:
20 
21  virtual
23  {}
24 
25  /*!
26  * Checks whether or not the given match is symmetric to another match
27  * that is possible.
28  *
29  * @param graph the graph the match belongs to
30  * @param match the match of the graph that has to be checked
31  * @return true if the match is a symmetric one, false otherwise
32  */
33  virtual
34  bool
36  , const Match& match ) const = 0;
37 
38  /*!
39  * Creates a new allocated copy of this object on heap. NOTE, the
40  * returned copy has to be deleted by the calling method.
41  *
42  * @return a copy of this
43  */
44  virtual
46  clone( void ) const = 0;
47 
48  };
49 
50 } // namespace sgm
51 
52 #endif /* SGM_PATTERN_AUTOMORPHISM_HH_*/