IMP logo
IMP Reference Guide  2.6.1
The Integrative Modeling Platform
core/DistancePairScore.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/DistancePairScore.h
3  * \brief A Score on the distance between a pair of particles.
4  *
5  * Copyright 2007-2016 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPCORE_DISTANCE_PAIR_SCORE_H
9 #define IMPCORE_DISTANCE_PAIR_SCORE_H
10 
11 #include <IMP/core/core_config.h>
16 IMPCORE_BEGIN_NAMESPACE
17 
18 /** Score a pair of particles based on their distance using an
19  arbitrary UnaryFunction.*/
21  DistancePairScore, score_functor::UnaryFunctionEvaluate,
22  (UnaryFunction *uf, std::string name = "DistancePairScore%1%"), (uf));
24 
25 #ifndef IMP_DOXYGEN
26 typedef score_functor::Shift<score_functor::Harmonic> HarmonicDistanceScore;
27 #endif
28 
29 /** Score a pair of particles based on their distance using a
30  Harmonic. This is faster than DistancePairScore if you
31  are using a Harmonic.*/
33  HarmonicDistancePairScore, HarmonicDistanceScore,
34  (double x0, double k, std::string name = "HarmonicDistancePairScore%1%"),
37 
38 IMPCORE_END_NAMESPACE
39 
40 #endif /* IMPCORE_DISTANCE_PAIR_SCORE_H */
Various important macros for implementing decorators.
#define IMP_FUNCTOR_DISTANCE_PAIR_SCORE(Name, Functor, Args, PassArgs)
A Score on the distance between a pair of particles.
A Score on the distance between a pair of particles.
A Score on the distance between a pair of particles.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Definition: object_macros.h:42
Abstract single variable functor class for score functions.
Definition: UnaryFunction.h:25