Chemical Data Processing Library Python API - Version 1.1.1
|
The default functor for the generation of atom hash seeds. More...
Public Member Functions | |
None | __init__ (HashCodeCalculator calc, int flags=159) |
Initializes the DefAtomHashSeedFunctor instance. More... | |
int | __call__ (Atom atom) |
Generates an initial hash code value (seed) for the specified atom. More... | |
The default functor for the generation of atom hash seeds.
None CDPL.Chem.HashCodeCalculator.DefAtomHashSeedFunctor.__init__ | ( | HashCodeCalculator | calc, |
int | flags = 159 |
||
) |
Initializes the DefAtomHashSeedFunctor instance.
calc | |
flags |
int CDPL.Chem.HashCodeCalculator.DefAtomHashSeedFunctor.__call__ | ( | Atom | atom | ) |
Generates an initial hash code value (seed) for the specified atom.
The generated hash seed depends on the set of considered atomic properties that has been specified in the constructor.
atom | The atom for which to generate the initial hash code. |