12#ifndef IMPKERNEL_PAIR_MODIFIER_H
13#define IMPKERNEL_PAIR_MODIFIER_H
15#include <IMP/kernel_config.h>
18#include "internal/container_helpers.h"
21IMPKERNEL_BEGIN_NAMESPACE
37 PairModifier(std::string name =
"PairModifier %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.
virtual void apply_index(Model *m, const ParticleIndexPair &v) const =0
virtual void apply_indexes(Model *m, const ParticleIndexPairs &o, unsigned int lower_bound, unsigned int upper_bound) const
virtual void apply_indexes_moved(Model *m, const ParticleIndexPairs &o, unsigned int lower_bound, unsigned int upper_bound, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Base class for objects that take particle arguments and read from them.
Base class for objects that take particle arguments and modify them.
Classes used in the construction of ModelObjects.
IMP::Vector< ParticleIndexPair, std::allocator< ParticleIndexPair > > ParticleIndexPairs
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
Array< 2, ParticleIndex > ParticleIndexPair
An ordered pair of particles, each identified by its ParticleIndex.
Array< 2, WeakPointer< Particle >, Particle * > ParticlePair
#define IMP_UNUSED(variable)