8 #ifndef IMPCORE_MOVER_BASE_H
9 #define IMPCORE_MOVER_BASE_H
11 #include <IMP/core/core_config.h>
14 #include <IMP/kernel/internal/container_helpers.h>
19 IMPCORE_DEPRECATED_HEADER(2.1,
"Use MonteCarloMover");
21 IMPCORE_BEGIN_NAMESPACE
29 void do_propose_value(
unsigned int i,
unsigned int j,
Float t);
41 unsigned int get_number_of_particles()
const {
return particles_.size(); }
42 unsigned int get_number_of_keys()
const {
return keys_.size(); }
43 std::string get_particle_name(
unsigned int i)
const;
48 virtual void do_move(
Float f) = 0;
54 Float get_value(
unsigned int i,
unsigned int j)
const;
61 void propose_value(
unsigned int i,
unsigned int j,
Float t);
63 IMPCORE_DEPRECATED_OBJECT_DECL(2.1)
Import IMP/kernel/macros.h in the namespace.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
virtual kernel::ParticlesTemp get_output_particles() const =0
Return the set of particles over which moves can be proposed.
virtual void reset_move()=0
Roll back any changes made to the kernel::Particles.
double Float
Basic floating-point value (could be float, double...)