IMP  2.0.0
The Integrative Modeling Platform
ISDRestraint.h
Go to the documentation of this file.
1 /**
2  * \file IMP/isd/ISDRestraint.h
3  * \brief A lognormal restraint that uses the ISPA model to model NOE-derived
4  * distance fit.
5  *
6  * Copyright 2007-2013 IMP Inventors. All rights reserved.
7  *
8  */
9 
10 #ifndef IMPISD_ISD_RESTRAINT_H
11 #define IMPISD_ISD_RESTRAINT_H
12 
13 #include <IMP/isd/isd_config.h>
14 #include <IMP/SingletonScore.h>
15 #include <IMP/core/XYZ.h>
16 #include <IMP/Restraint.h>
17 #include <IMP/PairContainer.h>
18 #include <IMP/PairScore.h>
19 #include <string>
20 
21 IMPISD_BEGIN_NAMESPACE
22 
23 //! Apply an NOE distance restraint between two particles.
24 class IMPISDEXPORT ISDRestraint : public Restraint
25 {
26 public:
27 
28  ISDRestraint() : Restraint() {}
29  ISDRestraint(std::string name) : Restraint(name) {}
30 
31  /* call for probability, pure method */
32  virtual double get_probability() const = 0;
33 
34 };
35 
36 IMPISD_END_NAMESPACE
37 
38 #endif /* IMPISD_ISD_RESTRAINT_H */