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

FeatureDistanceConstraint. More...

#include <FeatureDistanceConstraint.hpp>

+ Inheritance diagram for CDPL::Pharm::FeatureDistanceConstraint:

Public Member Functions

 FeatureDistanceConstraint (double min_dist, double max_dist)
 Constructs a FeatureDistanceConstraint functor with a minimum feature distance of min_dist and maximum distance of max_dist. More...
 
double getMinDistance () const
 
double getMaxDistance () const
 
bool operator() (const Feature &ftr1, const Feature &ftr2) const
 

Detailed Description

FeatureDistanceConstraint.

Constructor & Destructor Documentation

◆ FeatureDistanceConstraint()

CDPL::Pharm::FeatureDistanceConstraint::FeatureDistanceConstraint ( double  min_dist,
double  max_dist 
)
inline

Constructs a FeatureDistanceConstraint functor with a minimum feature distance of min_dist and maximum distance of max_dist.

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

Member Function Documentation

◆ getMinDistance()

double CDPL::Pharm::FeatureDistanceConstraint::getMinDistance ( ) const

◆ getMaxDistance()

double CDPL::Pharm::FeatureDistanceConstraint::getMaxDistance ( ) const

◆ operator()()

bool CDPL::Pharm::FeatureDistanceConstraint::operator() ( const Feature ftr1,
const Feature ftr2 
) const

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