Chemical Data Processing Library C++ API - Version 1.2.0
Public Member Functions | Static Public Attributes | List of all members
CDPL::Descr::MACCSFingerprintGenerator Class Reference

Generation of 166 bit MACCS key fingerprints. More...

#include <MACCSFingerprintGenerator.hpp>

Public Member Functions

 MACCSFingerprintGenerator ()
 Constructs the MACCSFingerprintGenerator instance. More...
 
 MACCSFingerprintGenerator (const MACCSFingerprintGenerator &gen)
 
 MACCSFingerprintGenerator (const Chem::MolecularGraph &molgraph, Util::BitSet &fp)
 Constructs the MACCSFingerprintGenerator instance and generates the fingerprint of the molecular graph molgraph. More...
 
void generate (const Chem::MolecularGraph &molgraph, Util::BitSet &fp)
 Generates the fingerprint of the molecular graph molgraph. More...
 
MACCSFingerprintGeneratoroperator= (const MACCSFingerprintGenerator &gen)
 

Static Public Attributes

static constexpr std::size_t NUM_BITS = 166
 

Detailed Description

Generation of 166 bit MACCS key fingerprints.

Since
1.2
See also
[MACCSK]

Constructor & Destructor Documentation

◆ MACCSFingerprintGenerator() [1/3]

CDPL::Descr::MACCSFingerprintGenerator::MACCSFingerprintGenerator ( )

Constructs the MACCSFingerprintGenerator instance.

◆ MACCSFingerprintGenerator() [2/3]

CDPL::Descr::MACCSFingerprintGenerator::MACCSFingerprintGenerator ( const MACCSFingerprintGenerator gen)

◆ MACCSFingerprintGenerator() [3/3]

CDPL::Descr::MACCSFingerprintGenerator::MACCSFingerprintGenerator ( const Chem::MolecularGraph molgraph,
Util::BitSet fp 
)

Constructs the MACCSFingerprintGenerator instance and generates the fingerprint of the molecular graph molgraph.

Parameters
molgraphThe molecular graph for which to generate the fingerprint.
fpThe generated fingerprint.

Member Function Documentation

◆ generate()

void CDPL::Descr::MACCSFingerprintGenerator::generate ( const Chem::MolecularGraph molgraph,
Util::BitSet fp 
)

Generates the fingerprint of the molecular graph molgraph.

Parameters
molgraphThe molecular graph for which to generate the fingerprint.
fpThe generated fingerprint.

◆ operator=()

MACCSFingerprintGenerator& CDPL::Descr::MACCSFingerprintGenerator::operator= ( const MACCSFingerprintGenerator gen)
inline

Member Data Documentation

◆ NUM_BITS

constexpr std::size_t CDPL::Descr::MACCSFingerprintGenerator::NUM_BITS = 166
staticconstexpr

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