13 #ifndef IMPCONTAINER_TRIPLETS_RESTRAINT_H
14 #define IMPCONTAINER_TRIPLETS_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::TripletScore,
39 kernel::TripletContainer>
42 typedef IMP::kernel::internal::ContainerRestraint<
54 std::string name =
"TripletsRestraint %1%")
57 #if defined(IMP_DOXYGEN) || defined(SWIG)
66 IMPCONTAINER_END_NAMESPACE
A shared container for Triplets.
Class for adding derivatives from restraints to the model.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A container for Triplets.
TripletsRestraint(kernel::TripletScore *ss, kernel::TripletContainerAdaptor pc, std::string name="TripletsRestraint %1%")
Create the restraint with a shared container.
A restraint is a term in an IMP ScoringFunction.
IMP::kernel::TripletScore TripletScore
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Abstract class for scoring object(s) of type ParticleTriplet.
Applies a TripletScore to each Triplet in a list.