13 #ifndef IMPCONTAINER_TRIPLETS_CONSTRAINT_H
14 #define IMPCONTAINER_TRIPLETS_CONSTRAINT_H
16 #include <IMP/container/container_config.h>
22 #include <IMP/kernel/internal/ContainerConstraint.h>
24 IMPKERNEL_BEGIN_NAMESPACE
28 IMPKERNEL_END_NAMESPACE
30 IMPCONTAINER_BEGIN_NAMESPACE
41 #if defined(SWIG) || defined(IMP_DOXYGEN)
44 public IMP::kernel::internal::ContainerConstraint<
45 TripletModifier, TripletModifier, TripletContainer>
48 typedef IMP::kernel::internal::ContainerConstraint<
61 TripletContainerAdaptor c,
62 std::string name =
"TripletConstraint %1%")
63 : P(before, after, c, name) {}
64 #if defined(IMP_DOXYGEN) || defined(SWIG)
66 void do_update_attributes();
76 IMPCONTAINER_END_NAMESPACE
A shared container for Triplets.
Class for adding derivatives from restraints to the model.
A base class for modifiers of ParticleTripletsTemp.
Import IMP/kernel/TripletContainer.h in the namespace.
IMP::kernel::TripletContainer TripletContainer
IMP::kernel::TripletModifier TripletModifier
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Import IMP/kernel/Constraint.h in the namespace.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Apply a TripletFunction to a TripletContainer to maintain an invariant.
Import IMP/kernel/score_state_macros.h in the namespace.
Various general useful macros for IMP.
Implement a constraint on the Model.
TripletsConstraint(TripletModifier *before, TripletModifier *after, TripletContainerAdaptor c, std::string name="TripletConstraint %1%")
Import IMP/kernel/TripletModifier.h in the namespace.