RDKit
Open-source cheminformatics and machine learning.
|
Base FPI for the fingerprinter used to rule out impossible matches. More...
#include <SubstructLibrary.h>
Public Member Functions | |
virtual | ~FPHolderBase () |
virtual unsigned int | size () const |
unsigned int | addMol (const ROMol &m) |
Adds a molecule to the fingerprinter. | |
unsigned int | addFingerprint (ExplicitBitVect *v) |
unsigned int | addFingerprint (const ExplicitBitVect &v) |
bool | passesFilter (unsigned int idx, const ExplicitBitVect &query) const |
Return false if a substructure search can never match the molecule. | |
const ExplicitBitVect & | getFingerprint (unsigned int idx) const |
virtual ExplicitBitVect * | makeFingerprint (const ROMol &m) const =0 |
std::vector< ExplicitBitVect * > & | getFingerprints () |
const std::vector< ExplicitBitVect * > & | getFingerprints () const |
Base FPI for the fingerprinter used to rule out impossible matches.
Definition at line 258 of file SubstructLibrary.h.
|
inlinevirtual |
Definition at line 262 of file SubstructLibrary.h.
|
inline |
Adds a raw bit vector to the fingerprinter PLEASE NOTE: make sure that the passed ExplicitBitVect is compatible with the one generated by makeFingerprint()
Definition at line 287 of file SubstructLibrary.h.
|
inline |
Adds a raw bit vector pointer to the fingerprinter, which takes ownership PLEASE NOTE: make sure that the passed ExplicitBitVect is compatible with the one generated by makeFingerprint()
Definition at line 279 of file SubstructLibrary.h.
Adds a molecule to the fingerprinter.
Definition at line 271 of file SubstructLibrary.h.
|
inline |
Get the bit vector at the specified index (throws IndexError if out of range)
Definition at line 302 of file SubstructLibrary.h.
|
inline |
Definition at line 313 of file SubstructLibrary.h.
|
inline |
Definition at line 314 of file SubstructLibrary.h.
|
pure virtual |
make the query vector Caller owns the vector!
Implemented in RDKit::PatternHolder, and RDKit::TautomerPatternHolder.
|
inline |
Return false if a substructure search can never match the molecule.
Definition at line 292 of file SubstructLibrary.h.
References AllProbeBitsMatch().
Definition at line 268 of file SubstructLibrary.h.