29 #ifndef CDPL_PHARM_CATIONPIINTERACTIONSCORE_HPP
30 #define CDPL_PHARM_CATIONPIINTERACTIONSCORE_HPP
51 static constexpr
double DEF_MIN_DISTANCE = 3.5;
52 static constexpr
double DEF_MAX_DISTANCE = 5.5;
53 static constexpr
double DEF_MAX_ANGLE = 30.0;
72 double max_ang = DEF_MAX_ANGLE);
Definition of the class CDPL::Pharm::FeatureInteractionScore.
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.
CationPiInteractionScore.
Definition: CationPiInteractionScore.hpp:48
double operator()(const Feature &ftr1, const Feature &ftr2) const
CationPiInteractionScore(bool aro_cat, double min_dist=DEF_MIN_DISTANCE, double max_dist=DEF_MAX_DISTANCE, double max_ang=DEF_MAX_ANGLE)
Constructs a CationPiInteractionScore functor with the specified constraints.
std::function< double(double)> AngleScoringFunction
Definition: CationPiInteractionScore.hpp:61
double getMaxAngle() const
void setAngleScoringFunction(const AngleScoringFunction &func)
double getMaxDistance() const
std::function< double(double)> DistanceScoringFunction
Definition: CationPiInteractionScore.hpp:60
std::shared_ptr< CationPiInteractionScore > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated CationPiInteractionScore instance...
Definition: CationPiInteractionScore.hpp:58
double operator()(const Math::Vector3D &ftr1_pos, const Feature &ftr2) const
double getMinDistance() const
void setDistanceScoringFunction(const DistanceScoringFunction &func)
FeatureInteractionScore.
Definition: FeatureInteractionScore.hpp:50
Feature.
Definition: Feature.hpp:48
CVector< double, 3 > Vector3D
A bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:1637
The namespace of the Chemical Data Processing Library.