#include <MoleculeDecomposition.hh>
Public Member Functions | |
virtual MC_Node * | clone (void) const |
virtual bool | isConstrainedLabel (const std::string &label) const |
virtual bool | isConstraining (const size_t nodeID) const |
virtual bool | isValidMatch (const Pattern_Interface &pattern, const Graph_Interface &target, const Match &match) const |
virtual bool | isValidMatch (const sgm::Pattern_Interface &pattern, const sgm::Graph_Interface &target, const size_t matchedTargetID) const |
MC_MC_RingNode (const size_t constrainedNodeID, const RingNodes &ringNodes) | |
MC_MC_RingNode (const MC_MC_RingNode &toCopy) | |
virtual bool | operator== (const sgm::Pattern_Interface::Match_Constraint &toCompare) const |
virtual MC_Node * | remap (const sgm::Match &old2newIndexMapping, const size_t unmatchedIndex=UINT_MAX) |
virtual | ~MC_MC_RingNode () |
destruction More... | |
Data Fields | |
size_t | constrainedNodeID |
the node ID to be constrained More... | |
const RingNodes * | ringNodes |
Node constraint to ensure that a matched node is part of a ring based on the given ring node set information.
This increases the probability that the ring fragment constraints, that are checked only for full matches, are fulfilled.
Definition at line 313 of file MoleculeDecomposition.hh.
|
inline |
construction
constrainedNodeID | the node ID to be constrained |
ringNodes | the set of possible ring node ids the constrainedNodeID can be matched on |
Definition at line 325 of file MoleculeDecomposition.hh.
|
inline |
copy construction
toCopy | the object to copy |
Definition at line 332 of file MoleculeDecomposition.hh.
|
inlinevirtual |
Definition at line 339 of file MoleculeDecomposition.hh.
|
inlinevirtual |
Creates a new heap object that equals the current object. NOTE: YOU have to delete it later on! There is no garbage collection!
Implements sgm::MC_Node.
Definition at line 350 of file MoleculeDecomposition.hh.
|
inlinevirtual |
Checks whether or not a given label is part of the constraint information. This check is needed by some parsers to verify the wildcard definition.
label | the label of interest |
Implements sgm::Pattern_Interface::Match_Constraint.
Definition at line 364 of file MoleculeDecomposition.hh.
|
inlinevirtualinherited |
Checks whether or not this constraint covers the node with the given ID.
nodeID | the ID of the node of interest |
Implements sgm::Pattern_Interface::Match_Constraint.
Definition at line 74 of file MC_Node.hh.
|
inlinevirtualinherited |
Checks whether or not a match on a given target fulfills the additional node constraint for the pattern matching.
pattern | the pattern graph that was matched |
target | the target graph the pattern was matched on |
match | the match information for the left side pattern of the pattern on the target graph |
Implements sgm::Pattern_Interface::Match_Constraint.
Definition at line 140 of file MC_Node.hh.
|
inlinevirtual |
Checks whether or not a match on a given target fulfills the additional node constraint for the pattern matching.
pattern | the pattern graph that was matched |
target | the target graph the pattern was matched on |
matchedTargetID | the matched node index within the target graph |
Implements sgm::MC_Node.
Definition at line 413 of file MoleculeDecomposition.hh.
|
inlinevirtualinherited |
Equality comparison to another match constraint.
toCompare | the constraint to compare to |
Implements sgm::Pattern_Interface::Match_Constraint.
Definition at line 154 of file MC_Node.hh.
|
inlinevirtual |
Creates a new heap object that equals the current object but uses the new indices given by old2newIndexMapping. NOTE: YOU have to delete it later on! There is no garbage collection!
old2newIndexMapping | the index mapping to be used for the remapping |
unmatchedIndex | an optional specific index that marks unmatched nodes within old2newIndexMapping. if this constrains one of these nodes, no remapping is done and NULL is returned |
Implements sgm::MC_Node.
Definition at line 383 of file MoleculeDecomposition.hh.
|
inherited |
Definition at line 45 of file MC_Node.hh.
const RingNodes* ggl::chem::MoleculeDecomposition::MC_MC_RingNode::ringNodes |
the set of possible ring node ids the constrainedNodeID can be matched on
Definition at line 319 of file MoleculeDecomposition.hh.