29 #ifndef CDPL_DESCR_NPOINTPHARMACOPHOREFINGERPRINTGENERATOR_HPP
30 #define CDPL_DESCR_NPOINTPHARMACOPHOREFINGERPRINTGENERATOR_HPP
59 static constexpr std::size_t DEF_MIN_FEATURE_TUPLE_SIZE = 1;
60 static constexpr std::size_t DEF_MAX_FEATURE_TUPLE_SIZE = 3;
93 static constexpr
double DEF_BIN_SIZE = 2.0;
105 void enumFeatureTuples(std::size_t curr_ftr_idx,
Util::BitSet& fp);
109 void canonFeatureTupleData(std::size_t curr_ftr_idx);
111 unsigned long getDistanceBinNumber(
double dist)
const;
115 typedef std::pair<unsigned int, std::size_t> FeatureID;
116 typedef std::vector<FeatureID> FeatureList;
117 typedef std::vector<unsigned long> FeatureTupleData;
119 std::size_t minFtrTupleSize;
120 std::size_t maxFtrTupleSize;
128 FeatureList ftrTuple;
129 FeatureTupleData ftrTupleData;
130 FeatureTupleData tmpFtrTupleData;
Definition of class CDPL::Pharm::BasicPharmacophore.
Declaration of type CDPL::Util::BitSet.
Definition of 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 class CDPL::Pharm::FeatureSet.
Definition of matrix data types.
MolecularGraph.
Definition: MolecularGraph.hpp:52
NPointPharmacophoreFingerprintGenerator.
Definition: NPointPharmacophoreFingerprintGenerator.hpp:56
const Pharm::PharmacophoreGenerator & getPharmacophoreGenerator() const
std::function< bool(const Pharm::Feature &)> FeatureFilterFunction
Definition: NPointPharmacophoreFingerprintGenerator.hpp:62
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)
void setFeatureFilterFunction(const FeatureFilterFunction &func)
Pharm::PharmacophoreGenerator & getPharmacophoreGenerator()
void setBinSize(double bin_size)
double getBinSize() const
void generate(const Pharm::FeatureContainer &cntnr, Util::BitSet &fp)
const FeatureFilterFunction & getFeatureFilterFunction() const
NPointPharmacophoreFingerprintGenerator()
virtual ~NPointPharmacophoreFingerprintGenerator()
Definition: NPointPharmacophoreFingerprintGenerator.hpp:64
BasicPharmacophore.
Definition: BasicPharmacophore.hpp:52
DefaultPharmacophoreGenerator.
Definition: DefaultPharmacophoreGenerator.hpp:48
FeatureContainer.
Definition: FeatureContainer.hpp:53
FeatureSet.
Definition: FeatureSet.hpp:52
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.