13 #ifndef IMPCONTAINER_SINGLETONS_RESTRAINT_H
14 #define IMPCONTAINER_SINGLETONS_RESTRAINT_H
16 #include <IMP/container/container_config.h>
18 #include <IMP/kernel/internal/InternalSingletonsRestraint.h>
22 IMPCONTAINER_BEGIN_NAMESPACE
36 #if defined(SWIG) || defined(IMP_DOXYGEN)
39 public IMP::kernel::internal::InternalSingletonsRestraint
42 typedef IMP::kernel::internal::InternalSingletonsRestraint P;
53 std::string name =
"SingletonsRestraint %1%")
56 #if defined(IMP_DOXYGEN) || defined(SWIG)
63 IMP_OBJECTS(SingletonsRestraint, SingletonsRestraints);
65 IMPCONTAINER_END_NAMESPACE
Applies a SingletonScore to each Singleton in a list.
Class for adding derivatives from restraints to the model.
A restraint is a term in an IMP ScoringFunction.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
SingletonsRestraint(SingletonScore *ss, SingletonContainerAdaptor pc, std::string name="SingletonsRestraint %1%")
Create the restraint with a shared container.