13 #ifndef IMPCORE_TRIPLET_CONSTRAINT_H
14 #define IMPCORE_TRIPLET_CONSTRAINT_H
16 #include <IMP/core/core_config.h>
17 #include <IMP/internal/TupleConstraint.h>
19 #include <cereal/access.hpp>
20 #include <cereal/types/base_class.hpp>
22 IMPCORE_BEGIN_NAMESPACE
33 #if defined(IMP_DOXYGEN) || defined(SWIG)
36 public IMP::internal::TupleConstraint<TripletModifier,
42 friend class cereal::access;
43 template<
class Archive>
void serialize(Archive &ar) {
44 ar(cereal::base_class<
54 std::string name =
"TripletConstraint %1%",
56 : IMP::internal::TupleConstraint<
58 vt, name, can_skip) {}
64 return P::get_before_modifier();
67 #if defined(IMP_DOXYGEN) || defined(SWIG)
72 void do_update_attributes();
A class to store a fixed array of same-typed values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A more IMP-like version of the std::vector.
Implement a constraint on the Model.
Class for storing model, its restraints, constraints, and particles.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
Apply a TripletFunction to a Triplet.
A base class for modifiers of ParticleTripletsTemp.
TripletModifier * get_before_modifier() const
Get the TripletModifier object used in this constraint.
A Modifier on ParticleTripletsTemp.
Class for adding derivatives from restraints to the model.