12#ifndef IMPKERNEL_TRIPLET_MODIFIER_H
13#define IMPKERNEL_TRIPLET_MODIFIER_H
15#include <IMP/kernel_config.h>
18#include "internal/container_helpers.h"
21IMPKERNEL_BEGIN_NAMESPACE
37 TripletModifier(std::string name =
"TripletModifier %1%");
46 unsigned int lower_bound,
47 unsigned int upper_bound)
const {
48 for (
unsigned int i = lower_bound; i < upper_bound; ++i) {
59 unsigned int lower_bound,
unsigned int upper_bound,
68IMPKERNEL_END_NAMESPACE
Class for adding derivatives from restraints to the model.
Class for storing model, its restraints, constraints, and particles.
Object(std::string name)
Construct an object with the given name.
Base class for objects that take particle arguments and read from them.
Base class for objects that take particle arguments and modify them.
virtual void apply_index(Model *m, const ParticleIndexTriplet &v) const =0
virtual void apply_indexes(Model *m, const ParticleIndexTriplets &o, unsigned int lower_bound, unsigned int upper_bound) const
virtual void apply_indexes_moved(Model *m, const ParticleIndexTriplets &o, unsigned int lower_bound, unsigned int upper_bound, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Classes used in the construction of ModelObjects.
Array< 3, ParticleIndex > ParticleIndexTriplet
An ordered triplet of particles, each identified by its ParticleIndex.
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
Array< 3, WeakPointer< Particle >, Particle * > ParticleTriplet
IMP::Vector< ParticleIndexTriplet, std::allocator< ParticleIndexTriplet > > ParticleIndexTriplets
#define IMP_UNUSED(variable)