#include <BALL/STRUCTURE/smartsMatcher.h>
|
|
| SmartsMatcher () |
| default constructor More...
|
|
virtual | ~SmartsMatcher () |
| destructor More...
|
|
|
void | match (Match &matches, Molecule &mol, const String &smarts) throw (Exception::ParseError) |
| method to match a Smarts pattern given as a string to given molecule More...
|
|
void | match (Match &matches, Molecule &mol, const String &smarts, const std::set< const Atom * > &start_atoms) throw (Exception::ParseError) |
| method to match a Smarts pattern given as a string to given molecule. The atoms which will be used for starting matching are given in atoms More...
|
|
void | match (std::vector< Match > &matches, Molecule &mol, const std::vector< String > &smarts) throw (Exception::ParseError) |
| method to match several Smarts patterns given as a vector of strings More...
|
|
void | match (std::vector< Match > &matches, Molecule &mol, const std::vector< String > &smarts, const std::set< const Atom * > &start_atoms) throw (Exception::ParseError) |
| method to match several Smarts patterns given as a vector of string. The atoms used for start matchings are given in start_atoms More...
|
|
void | setSSSR (const std::vector< std::vector< Atom * > > &sssr) |
| sets an SSSR which is used instead of doing an ring perception More...
|
|
void | unsetSSSR () |
| this function is used to cause the matcher to do an ring perception if needed (do not use the set SSSR any more) More...
|
|
|
bool | evaluateRingEdges_ (const std::set< const Atom * > &matching, const std::map< const SPNode *, const Atom * > &mapping, const String &smarts) |
| method for evaluation of ring edges, after the the smarts tree is matched to molcule More...
|
|
void | evaluate_ (RecStruct_ &rs, SPNode *start_node, const Atom *start_atom) |
| method for the evaluation of a pseudo-tree More...
|
|
bool | evaluate_node_ (RecStruct_ &rs, SPNode *start_node, const Atom *start_atom) |
| method for evaluating a node of a pseudo-tree More...
|
|
bool | evaluate_edge_ (RecStruct_ &rs, SPEdge *start_node, const Atom *start_atom, const Bond *start_bond) |
| method for evaluating a edge of a pseudo-tree More...
|
|
Definition at line 44 of file smartsMatcher.h.
BALL::SmartsMatcher::SmartsMatcher |
( |
| ) |
|
virtual BALL::SmartsMatcher::~SmartsMatcher |
( |
| ) |
|
|
virtual |
BALL::SmartsMatcher::SmartsMatcher |
( |
const SmartsMatcher & |
matcher | ) |
|
|
private |
void BALL::SmartsMatcher::evaluate_ |
( |
RecStruct_ & |
rs, |
|
|
SPNode * |
start_node, |
|
|
const Atom * |
start_atom |
|
) |
| |
|
protected |
method for the evaluation of a pseudo-tree
method for evaluating a edge of a pseudo-tree
method for evaluating a node of a pseudo-tree
bool BALL::SmartsMatcher::evaluateRingEdges_ |
( |
const std::set< const Atom * > & |
matching, |
|
|
const std::map< const SPNode *, const Atom * > & |
mapping, |
|
|
const String & |
smarts |
|
) |
| |
|
protected |
method for evaluation of ring edges, after the the smarts tree is matched to molcule
method to match a Smarts pattern given as a string to given molecule
method to match a Smarts pattern given as a string to given molecule. The atoms which will be used for starting matching are given in atoms
method to match several Smarts patterns given as a vector of strings
method to match several Smarts patterns given as a vector of string. The atoms used for start matchings are given in start_atoms
void BALL::SmartsMatcher::setSSSR |
( |
const std::vector< std::vector< Atom * > > & |
sssr | ) |
|
sets an SSSR which is used instead of doing an ring perception
void BALL::SmartsMatcher::unsetSSSR |
( |
| ) |
|
this function is used to cause the matcher to do an ring perception if needed (do not use the set SSSR any more)
Size BALL::SmartsMatcher::depth_ |
|
protected |
bool BALL::SmartsMatcher::has_user_sssr_ |
|
protected |
std::map<SPNode*, std::vector<std::set<const Atom*> > > BALL::SmartsMatcher::rec_matches_ |
|
protected |
std::vector<std::vector<Atom*> > BALL::SmartsMatcher::sssr_ |
|
protected |