29 #ifndef CDPL_DESCR_NPOINTPHARMACOPHOREFINGERPRINTGENERATOR_HPP
30 #define CDPL_DESCR_NPOINTPHARMACOPHOREFINGERPRINTGENERATOR_HPP
57 static constexpr std::size_t DEF_MIN_FEATURE_TUPLE_SIZE = 1;
58 static constexpr std::size_t DEF_MAX_FEATURE_TUPLE_SIZE = 3;
60 static constexpr
double DEF_BIN_SIZE = 0.5;
91 void enumFeatureTuples(std::size_t curr_ftr_idx,
Util::BitSet& fp);
95 void canonFeatureTupleData(std::size_t curr_ftr_idx);
97 unsigned long getDistanceBinNumber(
double dist)
const;
101 typedef std::pair<unsigned int, std::size_t> FeatureID;
102 typedef std::vector<FeatureID> FeatureList;
103 typedef std::vector<unsigned long> FeatureTupleData;
105 std::size_t minFtrTupleSize;
106 std::size_t maxFtrTupleSize;
112 FeatureList ftrTuple;
113 FeatureTupleData ftrTupleData;
114 FeatureTupleData tmpFtrTupleData;
Definition of the class CDPL::Pharm::BasicPharmacophore.
Definition of the type CDPL::Util::BitSet.
Definition of the class CDPL::Pharm::DefaultPharmacophoreGenerator.
Definition of the preprocessor macro CDPL_DESCR_API.
#define CDPL_DESCR_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of matrix data types.
MolecularGraph.
Definition: MolecularGraph.hpp:52
NPointPharmacophoreFingerprintGenerator.
Definition: NPointPharmacophoreFingerprintGenerator.hpp:54
const Pharm::PharmacophoreGenerator & getPharmacophoreGenerator() const
std::size_t getMinFeatureTupleSize() const
NPointPharmacophoreFingerprintGenerator(const NPointPharmacophoreFingerprintGenerator &gen)=default
void generate(const Chem::MolecularGraph &molgraph, Util::BitSet &fp)
void setMaxFeatureTupleSize(std::size_t max_size)
std::size_t getMaxFeatureTupleSize() const
void setMinFeatureTupleSize(std::size_t min_size)
Pharm::PharmacophoreGenerator & getPharmacophoreGenerator()
void setBinSize(double bin_size)
double getBinSize() const
void generate(const Pharm::FeatureContainer &cntnr, Util::BitSet &fp)
NPointPharmacophoreFingerprintGenerator()
virtual ~NPointPharmacophoreFingerprintGenerator()
Definition: NPointPharmacophoreFingerprintGenerator.hpp:62
BasicPharmacophore.
Definition: BasicPharmacophore.hpp:52
DefaultPharmacophoreGenerator.
Definition: DefaultPharmacophoreGenerator.hpp:48
FeatureContainer.
Definition: FeatureContainer.hpp:53
Feature.
Definition: Feature.hpp:48
PharmacophoreGenerator.
Definition: PharmacophoreGenerator.hpp:49
Matrix< unsigned long > ULMatrix
An unbounded dense matrix holding unsigned integers of type unsigned long.
Definition: Matrix.hpp:1824
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.