9 #ifndef IMPEXAMPLE_EXAMPLE_RESTRAINT_H
10 #define IMPEXAMPLE_EXAMPLE_RESTRAINT_H
12 #include <IMP/example/example_config.h>
15 IMPEXAMPLE_BEGIN_NAMESPACE
41 IMPEXAMPLE_END_NAMESPACE
virtual void do_add_score_and_derivatives(ScoreAccumulator sa) const
Abstract base class for all restraints.
Class for adding up scores during ScoringFunction evaluation.
A restraint is a term in an IMP ScoringFunction.
Restrain a particle to be in the x,y plane.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual ModelObjectsTemp do_get_inputs() const =0
Class for storing model, its restraints, constraints, and particles.