Chemical Data Processing Library C++ API - Version 1.1.1
|
#include <FeatureDistanceScore.hpp>
Public Types | |
typedef std::shared_ptr< FeatureDistanceScore > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureDistanceScore instances. More... | |
typedef std::function< double(double)> | DistanceScoringFunction |
Public Types inherited from CDPL::Pharm::FeatureInteractionScore | |
typedef std::shared_ptr< FeatureInteractionScore > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureInteractionScore instances. More... | |
Public Member Functions | |
FeatureDistanceScore (double min_dist, double max_dist) | |
Constructs a FeatureDistanceScore functor with a minimum feature distance of min_dist and maximum distance of max_dist. More... | |
double | getMinDistance () const |
double | getMaxDistance () const |
void | setDistanceScoringFunction (const DistanceScoringFunction &func) |
double | operator() (const Feature &ftr1, const Feature &ftr2) const |
double | operator() (const Math::Vector3D &ftr1_pos, const Feature &ftr2) const |
Public Member Functions inherited from CDPL::Pharm::FeatureInteractionScore | |
virtual | ~FeatureInteractionScore () |
Virtual destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CDPL::Pharm::FeatureInteractionScore | |
FeatureInteractionScore () | |
typedef std::shared_ptr<FeatureDistanceScore> CDPL::Pharm::FeatureDistanceScore::SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureDistanceScore
instances.
typedef std::function<double(double)> CDPL::Pharm::FeatureDistanceScore::DistanceScoringFunction |
Constructs a FeatureDistanceScore
functor with a minimum feature distance of min_dist and maximum distance of max_dist.
min_dist | The minimum feature pair distance. |
max_dist | The maximum feature pair distance. |
double CDPL::Pharm::FeatureDistanceScore::getMinDistance | ( | ) | const |
double CDPL::Pharm::FeatureDistanceScore::getMaxDistance | ( | ) | const |
void CDPL::Pharm::FeatureDistanceScore::setDistanceScoringFunction | ( | const DistanceScoringFunction & | func | ) |
|
virtual |
Implements CDPL::Pharm::FeatureInteractionScore.
|
virtual |
Implements CDPL::Pharm::FeatureInteractionScore.