8 #ifndef IMPCORE_DISTANCE_PAIR_SCORE_H
9 #define IMPCORE_DISTANCE_PAIR_SCORE_H
11 #include <IMP/core/core_config.h>
16 IMPCORE_BEGIN_NAMESPACE
30 DistancePairScore, score_functor::UnaryFunctionEvaluate,
31 (
UnaryFunction *uf, std::string name =
"DistancePairScore%1%"), (uf), );
53 (
double x0,
double k, std::string name =
"HarmonicDistancePairScore%1%"),
55 double get_x0()
const {
return get_score_functor().get_x0(); }
56 double get_k()
const {
return get_score_functor().get_k(); });
Various important macros for implementing decorators.
A Score on the distance between a pair of particles.
Score distance between two particle centers using a harmonic function.
A more IMP-like version of the std::vector.
A harmonic score on the directed distance between a pair of particles, centered at 0...
A Score on the distance between a pair of particles.
#define IMP_FUNCTOR_DISTANCE_PAIR_SCORE(Name, Functor, Args, PassArgs, Accessors)
Score a pair of particles based on the distance between their centers.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
Abstract single variable functor class for score functions.