FeatureDistanceConstraint.
More...
#include <FeatureDistanceConstraint.hpp>
◆ 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_dist | The minimum feature pair distance. |
max_dist | The maximum feature pair distance. |
◆ 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: