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 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
59 return get_value_index(m, vt);
66 return get_value_index(m, vt);
72 for (
unsigned int i = 0; i < o.size(); ++i) {
73 ret[i] += get_value_index(m, o[i]);
81 IMPKERNEL_END_NAMESPACE
A class to store an fixed array of same-typed values.
Class for adding derivatives from restraints to the model.
Base class for objects that take particle arguments and read from them.
#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.
virtual void setup_for_get_value_index_in_batch(Model *) const
virtual int get_value_index_in_batch(Model *m, const ParticleIndexTriplet &vt) const
Classes used in the construction of ModelObjects.
int operator()(Model *m, const ParticleIndexTriplet &vt) const
Enable them to be use as functors.