![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <SubstructMatch.h>
Public Member Functions | |
SubstructMatchParameters () | |
Public Attributes | |
bool | useChirality = false |
bool | useEnhancedStereo = false |
bool | aromaticMatchesConjugated = false |
bool | useQueryQueryMatches = false |
bool | useGenericMatchers = false |
bool | recursionPossible = true |
Allow recursive queries. | |
bool | uniquify = true |
uniquify (by atom index) match results | |
unsigned int | maxMatches = 1000 |
maximum number of matches to return | |
int | numThreads = 1 |
std::vector< std::string > | atomProperties |
std::vector< std::string > | bondProperties |
std::function< bool(const ROMol &mol, std::span< const unsigned int > match)> | extraFinalCheck |
unsigned int | maxRecursiveMatches |
matching should return | |
bool | specifiedStereoQueryMatchesUnspecified |
bool | aromaticMatchesSingleOrDouble = false |
Definition at line 42 of file SubstructMatch.h.
|
inline |
Definition at line 77 of file SubstructMatch.h.
Aromatic and conjugated bonds match each other
Definition at line 47 of file SubstructMatch.h.
Aromatic bonds match single or double bonds
Definition at line 75 of file SubstructMatch.h.
std::vector<std::string> RDKit::SubstructMatchParameters::atomProperties |
atom properties that must be equivalent in order to match
Definition at line 61 of file SubstructMatch.h.
std::vector<std::string> RDKit::SubstructMatchParameters::bondProperties |
bond properties that must be equivalent in order to match
Definition at line 63 of file SubstructMatch.h.
std::function<bool(const ROMol &mol, std::span<const unsigned int> match)> RDKit::SubstructMatchParameters::extraFinalCheck |
a function to be called at the end to validate a match
Definition at line 67 of file SubstructMatch.h.
maximum number of matches to return
Definition at line 55 of file SubstructMatch.h.
Referenced by RDKit::GeneralizedSubstruct::hasSubstructMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), and RDKit::SubstructMatch().
matching should return
maximum number of matches that the recursive substructure
Definition at line 69 of file SubstructMatch.h.
int RDKit::SubstructMatchParameters::numThreads = 1 |
number of threads to use when multi-threading is possible. 0 selects the number of concurrent threads supported by the hardware negative values are added to the number of concurrent threads supported by the hardware
Definition at line 56 of file SubstructMatch.h.
Referenced by RDKit::SubstructMatch(), and RDKit::SubstructMatch().
Allow recursive queries.
Definition at line 53 of file SubstructMatch.h.
Referenced by RDKit::SubstructLibrary::countMatches(), RDKit::SubstructLibrary::countMatches(), RDKit::SubstructLibrary::getMatches(), RDKit::SubstructLibrary::getMatches(), RDKit::SubstructLibrary::hasMatch(), RDKit::SubstructLibrary::hasMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), and RDKit::SubstructMatch().
bool RDKit::SubstructMatchParameters::specifiedStereoQueryMatchesUnspecified |
If set, query atoms and bonds with specified stereochemistry will match atoms and bonds with unspecified stereochemistry
Definition at line 72 of file SubstructMatch.h.
uniquify (by atom index) match results
Definition at line 54 of file SubstructMatch.h.
Referenced by RDKit::SubstructMatch(), and RDKit::SubstructMatch().
Use chirality in determining whether or not atoms/bonds match
Definition at line 43 of file SubstructMatch.h.
Referenced by RDKit::SubstructLibrary::countMatches(), RDKit::SubstructLibrary::countMatches(), RDKit::SubstructLibrary::getMatches(), RDKit::SubstructLibrary::getMatches(), RDKit::SubstructLibrary::hasMatch(), RDKit::SubstructLibrary::hasMatch(), RDKit::RGroupDecompositionParameters::RGroupDecompositionParameters(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), and RDKit::SubstructMatch().
Use enhanced stereochemistry in determining whether atoms/bonds match
Definition at line 45 of file SubstructMatch.h.
Looks for generic atoms in the query and uses them as part of the matching
Definition at line 51 of file SubstructMatch.h.
Consider query-query matches, not just simple matches
Definition at line 49 of file SubstructMatch.h.
Referenced by RDKit::SubstructLibrary::countMatches(), RDKit::SubstructLibrary::countMatches(), RDKit::SubstructLibrary::getMatches(), RDKit::SubstructLibrary::getMatches(), RDKit::SubstructLibrary::hasMatch(), RDKit::SubstructLibrary::hasMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), RDKit::SubstructMatch(), and RDKit::SubstructMatch().