29 #ifndef CDPL_PHARM_PHARMACOPHOREFITSCORE_HPP
30 #define CDPL_PHARM_PHARMACOPHOREFITSCORE_HPP
33 #include <unordered_set>
48 class FeatureContainer;
57 static constexpr
double DEF_FTR_MATCH_COUNT_WEIGHT = 1.0;
58 static constexpr
double DEF_FTR_POS_MATCH_WEIGHT = 0.5;
59 static constexpr
double DEF_FTR_GEOM_MATCH_WEIGHT = 0.4;
62 double pos_match_weight = DEF_FTR_POS_MATCH_WEIGHT,
63 double geom_match_weight = DEF_FTR_GEOM_MATCH_WEIGHT);
93 typedef std::vector<const Feature*> FeatureList;
94 typedef std::vector<std::size_t> IndexList;
95 typedef std::unordered_set<const Feature*> FeatureSet;
98 std::size_t mat_ftr_cnt, std::size_t mat_mand_ftr_cnt,
double tot_fit_score);
101 double ftrMatchCntWeight;
102 double ftrPosMatchWeight;
103 double ftrGeomMatchWeight;
105 FeatureList grpdRefFtrs;
106 IndexList refFtrGrpBounds;
108 FeatureSet assignedAlgdFtrs;
110 std::size_t maxMpdMandFtrCount;
111 std::size_t maxMpdFtrCount;
Definition of the type CDPL::Util::BitSet.
Definition of the type CDPL::Pharm::FeatureMapping.
Definition of the preprocessor macro CDPL_PHARM_API.
#define CDPL_PHARM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the class CDPL::Pharm::SpatialFeatureMapping.
FeatureContainer.
Definition: FeatureContainer.hpp:53
PharmacophoreFitScore.
Definition: PharmacophoreFitScore.hpp:54
void setFeatureGeometryMatchWeight(double weight)
PharmacophoreFitScore(double match_cnt_weight=DEF_FTR_MATCH_COUNT_WEIGHT, double pos_match_weight=DEF_FTR_POS_MATCH_WEIGHT, double geom_match_weight=DEF_FTR_GEOM_MATCH_WEIGHT)
double getFeatureMatchCountWeight() const
void setFeaturePositionMatchWeight(double weight)
void groupReferenceFeatures(bool group)
double operator()(const FeatureContainer &ref_ftrs, const FeatureContainer &algnd_ftrs, const Math::Matrix4D &xform)
bool referenceFeaturesGrouped() const
double operator()(const FeatureContainer &ref_ftrs, const SpatialFeatureMapping &mapping)
double getFeatureGeometryMatchWeight() const
void setFeatureMatchCountWeight(double weight)
double getFeaturePositionMatchWeight() const
SpatialFeatureMapping.
Definition: SpatialFeatureMapping.hpp:55
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.