IMP  2.0.0
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.*/
20 IMP_FUNCTOR_DISTANCE_PAIR_SCORE(DistancePairScore,
21  score_functor::UnaryFunctionEvaluate,
22  (UnaryFunction *uf,
23  std::string name="DistancePairScore%1%"),
24  (uf));
25 
26 #ifndef IMP_DOXYGEN
28 HarmonicDistanceScore;
29 #endif
30 
31 /** Score a pair of particles based on their distance using a
32  Harmonic. This is faster than DistancePairScore if you
33  are using a Harmonic.*/
34 IMP_FUNCTOR_DISTANCE_PAIR_SCORE(HarmonicDistancePairScore,
35  HarmonicDistanceScore,
36  (double x0, double k,
37  std::string name
38  ="HarmonicDistancePairScore%1%"),
40 IMPCORE_END_NAMESPACE
41 
42 #endif /* IMPCORE_DISTANCE_PAIR_SCORE_H */