13 #ifndef IMPCORE_SINGLETON_RESTRAINT_H
14 #define IMPCORE_SINGLETON_RESTRAINT_H
16 #include <IMP/core/core_config.h>
18 #include <IMP/internal/TupleRestraint.h>
23 IMPCORE_BEGIN_NAMESPACE
30 #if defined(SWIG) || defined(IMP_DOXYGEN)
33 public IMP::internal::TupleRestraint<SingletonScore>
42 std::string name =
"SingletonRestraint %1%")
46 #if defined(SWIG) || defined(IMP_DOXYGEN)
SingletonRestraint(Model *m, SingletonScore *ss, ParticleIndex vt, std::string name="SingletonRestraint %1%")
Create the restraint.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A more IMP-like version of the std::vector.
Class for storing model, its restraints, constraints, and particles.
Abstract class for scoring object(s) of type ParticleIndex.
Applies a SingletonScore to a Singleton.
Class for adding derivatives from restraints to the model.
A restraint is a term in an IMP ScoringFunction.