12 #ifndef IMPKERNEL_TRIPLET_PREDICATE_H
13 #define IMPKERNEL_TRIPLET_PREDICATE_H
15 #include <IMP/kernel_config.h>
18 #include "internal/container_helpers.h"
21 IMPKERNEL_BEGIN_NAMESPACE
38 IMPKERNEL_DEPRECATED_METHOD_DECL(2.1)
42 IMPKERNEL_DEPRECATED_METHOD_DECL(2.1)
45 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
59 return get_value_index(m, vt);
65 for (
unsigned int i = 0; i < o.size(); ++i) {
66 ret[i] += get_value_index(m, o[i]);
74 IMPKERNEL_END_NAMESPACE
A class to store an fixed array of same-typed values.
Class for adding derivatives from restraints to the model.
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
Class for storing model, its restraints, constraints, and particles.
Abstract predicate function.
Common base class for heavy weight IMP objects.
Single variable function.
int operator()(Model *m, const ParticleIndexTriplet &vt) const
Enable them to be use as functors.