12#ifndef IMPKERNEL_QUAD_MODIFIER_H
13#define IMPKERNEL_QUAD_MODIFIER_H
15#include <IMP/kernel_config.h>
18#include "internal/container_helpers.h"
21IMPKERNEL_BEGIN_NAMESPACE
37 QuadModifier(std::string name =
"QuadModifier %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_indexes(Model *m, const ParticleIndexQuads &o, unsigned int lower_bound, unsigned int upper_bound) const
virtual void apply_index(Model *m, const ParticleIndexQuad &v) const =0
virtual void apply_indexes_moved(Model *m, const ParticleIndexQuads &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< 4, WeakPointer< Particle >, Particle * > ParticleQuad
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
IMP::Vector< ParticleIndexQuad, std::allocator< ParticleIndexQuad > > ParticleIndexQuads
Array< 4, ParticleIndex > ParticleIndexQuad
An ordered quad of particles, each identified by its ParticleIndex.
#define IMP_UNUSED(variable)