12#ifndef IMPKERNEL_SINGLETON_MODIFIER_H
13#define IMPKERNEL_SINGLETON_MODIFIER_H
15#include <IMP/kernel_config.h>
18#include "internal/container_helpers.h"
21IMPKERNEL_BEGIN_NAMESPACE
37 SingletonModifier(std::string name =
"SingletonModifier %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.
Class to handle individual particles of a Model object.
virtual void apply_index(Model *m, ParticleIndex v) const =0
virtual void apply_indexes(Model *m, const ParticleIndexes &o, unsigned int lower_bound, unsigned int upper_bound) const
virtual void apply_indexes_moved(Model *m, const ParticleIndexes &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.
Index< ParticleIndexTag > ParticleIndex
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
#define IMP_UNUSED(variable)