29 #ifndef CDPL_PHARM_PARALLELPIPIINTERACTIONSCORE_HPP
30 #define CDPL_PHARM_PARALLELPIPIINTERACTIONSCORE_HPP
51 static constexpr
double DEF_MAX_H_DISTANCE = 2.8;
52 static constexpr
double DEF_MIN_V_DISTANCE = 3.0;
53 static constexpr
double DEF_MAX_V_DISTANCE = 5.5;
54 static constexpr
double DEF_MAX_ANGLE = 20.0;
72 double max_h_dist = DEF_MAX_H_DISTANCE,
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.
FeatureInteractionScore.
Definition: FeatureInteractionScore.hpp:50
Feature.
Definition: Feature.hpp:48
ParallelPiPiInteractionScore.
Definition: ParallelPiPiInteractionScore.hpp:48
double getMaxAngle() const
std::shared_ptr< ParallelPiPiInteractionScore > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ParallelPiPiInteractionScore inst...
Definition: ParallelPiPiInteractionScore.hpp:59
void setAngleScoringFunction(const AngleScoringFunction &func)
void setDistanceScoringFunction(const DistanceScoringFunction &func)
double getMinVDistance() const
double getMaxHDistance() const
double getMaxVDistance() const
double operator()(const Feature &ftr1, const Feature &ftr2) const
std::function< double(double)> DistanceScoringFunction
Definition: ParallelPiPiInteractionScore.hpp:61
std::function< double(double)> AngleScoringFunction
Definition: ParallelPiPiInteractionScore.hpp:62
ParallelPiPiInteractionScore(double min_v_dist=DEF_MIN_V_DISTANCE, double max_v_dist=DEF_MAX_V_DISTANCE, double max_h_dist=DEF_MAX_H_DISTANCE, double max_ang=DEF_MAX_ANGLE)
Constructs a ParallelPiPiInteractionScore functor with the specified constraints.
double operator()(const Math::Vector3D &ftr1_pos, const Feature &ftr2) const
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.