8 #ifndef IMPSCORE_FUNCTOR_HARMONIC_LOWER_BOUND_H
9 #define IMPSCORE_FUNCTOR_HARMONIC_LOWER_BOUND_H
11 #include <IMP/score_functor/score_functor_config.h>
14 IMPSCOREFUNCTOR_BEGIN_NAMESPACE
21 template <
unsigned int D>
23 double distance)
const {
24 if (distance > 0)
return 0;
25 return .5*k_*algebra::get_squared(distance);
27 template <
unsigned int D>
30 double distance)
const {
35 template <
unsigned int D>
36 double get_maximum_range(
Model *,
40 template <
unsigned int D>
41 bool get_is_trivially_zero(
Model *,
43 double squared_distance)
const {
44 return squared_distance > 0;
48 IMPSCOREFUNCTOR_END_NAMESPACE