Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | List of all members
CDPL.Descr.CircularFingerprintGenerator.DefAtomIdentifierFunctor Class Reference

The functor for the generation of ECFP atom identifiers. More...

+ Inheritance diagram for CDPL.Descr.CircularFingerprintGenerator.DefAtomIdentifierFunctor:

Public Member Functions

None __init__ (int flags=3166)
 Constructs the atom identifier functor object for the specified set of atomic properties. More...
 
int __call__ (Chem.Atom atom, Chem.MolecularGraph molgraph)
 Generates an identifier for the argument atom. More...
 

Detailed Description

The functor for the generation of ECFP atom identifiers.

Constructor & Destructor Documentation

◆ __init__()

None CDPL.Descr.CircularFingerprintGenerator.DefAtomIdentifierFunctor.__init__ ( int   flags = 3166)

Constructs the atom identifier functor object for the specified set of atomic properties.

The flags argument is an OR combination of the constants defined in namespace Chem.AtomPropertyFlag.

Supported property flags are:

Parameters
flagsSpecifies the set of considered atomic properties.

Member Function Documentation

◆ __call__()

int CDPL.Descr.CircularFingerprintGenerator.DefAtomIdentifierFunctor.__call__ ( Chem.Atom  atom,
Chem.MolecularGraph  molgraph 
)

Generates an identifier for the argument atom.

The generated identifier depends on the set of considered atomic properties that has been specified in the constructor.

Parameters
atomThe atom for which to generate the identifier.
molgraphThe parent molecular graph of the atom.
Returns
The generated atom identifier. \