IMP  2.0.0
The Integrative Modeling Platform
ExampleConstraint.h
Go to the documentation of this file.
1 /**
2  * \file IMP/example/ExampleConstraint.h
3  * \brief A restraint on a list of particle pairs.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPEXAMPLE_EXAMPLE_CONSTRAINT_H
10 #define IMPEXAMPLE_EXAMPLE_CONSTRAINT_H
11 
12 #include <IMP/example/example_config.h>
13 #include <IMP/SingletonScore.h>
14 #include <IMP/Constraint.h>
15 #include <IMP/PairContainer.h>
16 #include <IMP/PairScore.h>
17 #include <IMP/score_state_macros.h>
18 
19 IMPEXAMPLE_BEGIN_NAMESPACE
20 
21 //! A trivial constraint that just increments a counter
22 /**
23 */
24 class IMPEXAMPLEEXPORT ExampleConstraint : public Constraint
25 {
27  IntKey k_;
28 public:
30 
32 };
33 
34 IMPEXAMPLE_END_NAMESPACE
35 
36 #endif /* IMPEXAMPLE_EXAMPLE_CONSTRAINT_H */