Chemical Data Processing Library C++ API - Version 1.1.1
Public Types | Public Member Functions | Static Public Attributes | List of all members
CDPL::Pharm::HydrophobicInteractionScore Class Reference

HydrophobicInteractionScore. More...

#include <HydrophobicInteractionScore.hpp>

+ Inheritance diagram for CDPL::Pharm::HydrophobicInteractionScore:

Public Types

typedef std::shared_ptr< HydrophobicInteractionScoreSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated HydrophobicInteractionScore instances. More...
 
- Public Types inherited from CDPL::Pharm::FeatureDistanceScore
typedef std::shared_ptr< FeatureDistanceScoreSharedPointer
 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< FeatureInteractionScoreSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureInteractionScore instances. More...
 

Public Member Functions

 HydrophobicInteractionScore (double min_dist=DEF_MIN_DISTANCE, double max_dist=DEF_MAX_DISTANCE)
 Constructs a HydrophobicInteractionScore functor with a minimum hydrophobic-feature pair distance of min_dist and a maximum distance of max_dist. More...
 
- Public Member Functions inherited from CDPL::Pharm::FeatureDistanceScore
 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...
 

Static Public Attributes

static constexpr double DEF_MIN_DISTANCE = 2.0
 
static constexpr double DEF_MAX_DISTANCE = 6.0
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Pharm::FeatureInteractionScore
 FeatureInteractionScore ()
 

Detailed Description

HydrophobicInteractionScore.

Member Typedef Documentation

◆ SharedPointer

A reference-counted smart pointer [SHPTR] for dynamically allocated HydrophobicInteractionScore instances.

Constructor & Destructor Documentation

◆ HydrophobicInteractionScore()

CDPL::Pharm::HydrophobicInteractionScore::HydrophobicInteractionScore ( double  min_dist = DEF_MIN_DISTANCE,
double  max_dist = DEF_MAX_DISTANCE 
)
inline

Constructs a HydrophobicInteractionScore functor with a minimum hydrophobic-feature pair distance of min_dist and a maximum distance of max_dist.

Parameters
min_distThe minimum allowed feature pair distance.
max_distThe maximum allowed feature pair distance.

Member Data Documentation

◆ DEF_MIN_DISTANCE

constexpr double CDPL::Pharm::HydrophobicInteractionScore::DEF_MIN_DISTANCE = 2.0
staticconstexpr

◆ DEF_MAX_DISTANCE

constexpr double CDPL::Pharm::HydrophobicInteractionScore::DEF_MAX_DISTANCE = 6.0
staticconstexpr

The documentation for this class was generated from the following file: