13 #ifndef IMPCORE_QUAD_RESTRAINT_H
14 #define IMPCORE_QUAD_RESTRAINT_H
16 #include <IMP/core/core_config.h>
18 #include <IMP/kernel/internal/TupleRestraint.h>
23 IMPCORE_BEGIN_NAMESPACE
30 #if defined(SWIG) || defined(IMP_DOXYGEN)
33 public IMP::kernel::internal::TupleRestraint<QuadScore>
42 std::string name =
"QuadRestraint %1%")
43 : IMP::kernel::internal::TupleRestraint<
QuadScore>(
44 ss, IMP::kernel::internal::get_model(vt),
45 IMP::kernel::internal::
get_index(vt), name) {}
52 std::string name =
"QuadRestraint %1%")
53 : IMP::kernel::internal::TupleRestraint<
QuadScore>(ss, m, vt, name) {
56 #if defined(SWIG) || defined(IMP_DOXYGEN)
QuadRestraint(QuadScore *ss, const kernel::ParticleQuad &vt, std::string name="QuadRestraint %1%")
Create the restraint.
Class for adding derivatives from restraints to the model.
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
A restraint is a term in an IMP ScoringFunction.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Applies a QuadScore to a Quad.
Import IMP/kernel/QuadScore.h in the namespace.
QuadRestraint(kernel::Model *m, QuadScore *ss, const kernel::ParticleIndexQuad &vt, std::string name="QuadRestraint %1%")
Create the restraint.
Class for storing model, its restraints, constraints, and particles.