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

FeatureInteractionScoreCombiner. More...

#include <FeatureInteractionScoreCombiner.hpp>

+ Inheritance diagram for CDPL::Pharm::FeatureInteractionScoreCombiner:

Public Types

typedef std::shared_ptr< FeatureInteractionScoreCombinerSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureInteractionScoreCombiner instances. More...
 
typedef std::function< double(double, double)> CombinationFunction
 
typedef FeatureInteractionScore::SharedPointer InteractionScore
 
- 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

 FeatureInteractionScoreCombiner (const InteractionScore &score1, const InteractionScore &score2, const CombinationFunction &comb_func)
 Constructs a FeatureInteractionScoreCombiner that combines the score values calculated by two feature interaction scoring functions. More...
 
 FeatureInteractionScoreCombiner (const InteractionScore &score1, const InteractionScore &score2)
 
double operator() (const Math::Vector3D &ftr1_pos, const Feature &ftr2) const
 
double operator() (const Feature &ftr1, 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 ()
 

Detailed Description

FeatureInteractionScoreCombiner.

Member Typedef Documentation

◆ SharedPointer

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

◆ CombinationFunction

◆ InteractionScore

Constructor & Destructor Documentation

◆ FeatureInteractionScoreCombiner() [1/2]

CDPL::Pharm::FeatureInteractionScoreCombiner::FeatureInteractionScoreCombiner ( const InteractionScore score1,
const InteractionScore score2,
const CombinationFunction comb_func 
)

Constructs a FeatureInteractionScoreCombiner that combines the score values calculated by two feature interaction scoring functions.

Parameters
score1The first interaction scoring function.
score2The second interaction scoring function.
comb_funcThe function calculating the final score value.

◆ FeatureInteractionScoreCombiner() [2/2]

CDPL::Pharm::FeatureInteractionScoreCombiner::FeatureInteractionScoreCombiner ( const InteractionScore score1,
const InteractionScore score2 
)

Member Function Documentation

◆ operator()() [1/2]

double CDPL::Pharm::FeatureInteractionScoreCombiner::operator() ( const Math::Vector3D ftr1_pos,
const Feature ftr2 
) const
virtual

◆ operator()() [2/2]

double CDPL::Pharm::FeatureInteractionScoreCombiner::operator() ( const Feature ftr1,
const Feature ftr2 
) const
virtual

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