IMP  2.1.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-2013 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));
23 
24 #ifndef IMP_DOXYGEN
25 typedef score_functor::Shift<score_functor::Harmonic> HarmonicDistanceScore;
26 #endif
27 
28 /** Score a pair of particles based on their distance using a
29  Harmonic. This is faster than DistancePairScore if you
30  are using a Harmonic.*/
32  HarmonicDistancePairScore, HarmonicDistanceScore,
33  (double x0, double k, std::string name = "HarmonicDistancePairScore%1%"),
35 IMPCORE_END_NAMESPACE
36 
37 #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.
Abstract single variable functor class for score functions.
A Score on the distance between a pair of particles.
A Score on the distance between a pair of particles.