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