RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::AtomEnvironment< OutputType > Class Template Referenceabstract

abstract base class that holds atom-environments that will be hashed to generate the fingerprint More...

#include <FingerprintGenerator.h>

Inheritance diagram for RDKit::AtomEnvironment< OutputType >:
RDKit::AtomPair::AtomPairAtomEnv< OutputType > RDKit::MorganFingerprint::MorganAtomEnv< OutputType > RDKit::RDKitFP::RDKitFPAtomEnv< OutputType > RDKit::TopologicalTorsion::TopologicalTorsionAtomEnv< OutputType >

Public Member Functions

virtual OutputType getBitId (FingerprintArguments *arguments, const std::vector< std::uint32_t > *atomInvariants, const std::vector< std::uint32_t > *bondInvariants, AdditionalOutput *AdditionalOutput, const bool hashResults=false, const std::uint64_t fpSize=0) const =0
 calculates and returns the bit id to be set for this atom-environment
 
virtual void updateAdditionalOutput (AdditionalOutput *AdditionalOutput, size_t bitId) const =0
 
virtual ~AtomEnvironment ()
 

Detailed Description

template<typename OutputType>
class RDKit::AtomEnvironment< OutputType >

abstract base class that holds atom-environments that will be hashed to generate the fingerprint

Definition at line 118 of file FingerprintGenerator.h.

Constructor & Destructor Documentation

◆ ~AtomEnvironment()

Definition at line 140 of file FingerprintGenerator.h.

Member Function Documentation

◆ getBitId()

template<typename OutputType >
virtual OutputType RDKit::AtomEnvironment< OutputType >::getBitId ( FingerprintArguments arguments,
const std::vector< std::uint32_t > *  atomInvariants,
const std::vector< std::uint32_t > *  bondInvariants,
AdditionalOutput AdditionalOutput,
const bool  hashResults = false,
const std::uint64_t  fpSize = 0 
) const
pure virtual

calculates and returns the bit id to be set for this atom-environment

Parameters
argumentsFingerprinting type specific molecule independent arguments
atomInvariantsAtom-invariants to be used during hashing
bondInvariantsBond-invariants to be used during hashing
hashResultsif set results will be ready to be modded
Returns
OutputType calculated bit id for this environment

Implemented in RDKit::RDKitFP::RDKitFPAtomEnv< OutputType >, RDKit::AtomPair::AtomPairAtomEnv< OutputType >, RDKit::MorganFingerprint::MorganAtomEnv< OutputType >, and RDKit::TopologicalTorsion::TopologicalTorsionAtomEnv< OutputType >.

◆ updateAdditionalOutput()


The documentation for this class was generated from the following file: