13 #ifndef IMPCONTAINER_SINGLETONS_RESTRAINT_H
14 #define IMPCONTAINER_SINGLETONS_RESTRAINT_H
16 #include <IMP/container/container_config.h>
17 #include <IMP/kernel/internal/ContainerRestraint.h>
21 IMPCONTAINER_BEGIN_NAMESPACE
35 #if defined(SWIG) || defined(IMP_DOXYGEN)
38 public IMP::kernel::internal::ContainerRestraint<kernel::SingletonScore,
39 kernel::SingletonContainer>
42 typedef IMP::kernel::internal::ContainerRestraint<
54 std::string name =
"SingletonsRestraint %1%")
57 #if defined(IMP_DOXYGEN) || defined(SWIG)
66 IMPCONTAINER_END_NAMESPACE
Applies a SingletonScore to each Singleton in a list.
Class for adding derivatives from restraints to the model.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A restraint is a term in an IMP ScoringFunction.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
SingletonsRestraint(kernel::SingletonScore *ss, kernel::SingletonContainerAdaptor pc, std::string name="SingletonsRestraint %1%")
Create the restraint with a shared container.
Abstract class for scoring object(s) of type Particle.
IMP::kernel::SingletonScore SingletonScore
A container for Singletons.
A shared container for Singletons.