43#ifndef __RD_MORGANFPS_H__
44#define __RD_MORGANFPS_H__
55namespace MorganFingerprints {
56typedef std::map<std::uint32_t,
57 std::vector<std::pair<std::uint32_t, std::uint32_t>>>
108 const ROMol &mol,
unsigned int radius,
109 std::vector<boost::uint32_t> *
invariants =
nullptr,
110 const std::vector<boost::uint32_t> *fromAtoms =
nullptr,
160 const ROMol &mol,
unsigned int radius,
unsigned int nBits = 2048,
161 std::vector<boost::uint32_t> *
invariants =
nullptr,
162 const std::vector<boost::uint32_t> *fromAtoms =
nullptr,
202 const ROMol &mol,
unsigned int radius,
unsigned int nBits,
203 std::vector<std::uint32_t> *
invariants =
nullptr,
204 const std::vector<std::uint32_t> *fromAtoms =
nullptr,
a class for bit vectors that are densely occupied
a class for efficiently storing sparse vectors of ints
#define RDKIT_FINGERPRINTS_EXPORT
std::map< std::uint32_t, std::vector< std::pair< std::uint32_t, std::uint32_t > > > BitInfoMap
RDKIT_FINGERPRINTS_EXPORT SparseIntVect< std::uint32_t > * getFingerprint(const ROMol &mol, unsigned int radius, std::vector< boost::uint32_t > *invariants=nullptr, const std::vector< boost::uint32_t > *fromAtoms=nullptr, bool useChirality=false, bool useBondTypes=true, bool useCounts=true, bool onlyNonzeroInvariants=false, BitInfoMap *atomsSettingBits=nullptr, bool includeRedundantEnvironments=false)
returns the Morgan fingerprint for a molecule
RDKIT_FINGERPRINTS_EXPORT ExplicitBitVect * getFingerprintAsBitVect(const ROMol &mol, unsigned int radius, unsigned int nBits, std::vector< std::uint32_t > *invariants=nullptr, const std::vector< std::uint32_t > *fromAtoms=nullptr, bool useChirality=false, bool useBondTypes=true, bool onlyNonzeroInvariants=false, BitInfoMap *atomsSettingBits=nullptr, bool includeRedundantEnvironments=false)
returns the Morgan fingerprint for a molecule as a bit vector
const std::string morganFingerprintVersion
RDKIT_FINGERPRINTS_EXPORT SparseIntVect< std::uint32_t > * getHashedFingerprint(const ROMol &mol, unsigned int radius, unsigned int nBits=2048, std::vector< boost::uint32_t > *invariants=nullptr, const std::vector< boost::uint32_t > *fromAtoms=nullptr, bool useChirality=false, bool useBondTypes=true, bool onlyNonzeroInvariants=false, BitInfoMap *atomsSettingBits=nullptr, bool includeRedundantEnvironments=false)
returns the Morgan fingerprint for a molecule
bool rdvalue_is(const RDValue_cast_t)