9#ifndef IMPISD_HYBRID_MONTE_CARLO_H
10#define IMPISD_HYBRID_MONTE_CARLO_H
12#include <IMP/isd/isd_config.h>
26 HybridMonteCarlo(Model *m,
Float kT = 1.0,
unsigned steps = 100,
27 Float timestep = 1.0,
unsigned persistence = 1);
29 Float get_kinetic_energy()
const;
31 Float get_potential_energy()
const;
33 Float get_total_energy()
const;
36 void set_timestep(
Float ts);
37 double get_timestep()
const;
40 void set_number_of_md_steps(
unsigned nsteps);
41 unsigned get_number_of_md_steps()
const;
44 void set_persistence(
unsigned persistence = 1);
45 unsigned get_persistence()
const;
58 unsigned num_md_steps_, persistence_;
59 unsigned persistence_counter_;
A modifier which perturbs XYZs or Nuisances with a constant energy MD simulation.
Simple Monte Carlo optimizer.
double do_evaluate(const ParticleIndexes &, bool) const override
Get the current energy.
virtual void do_step() override
a class that inherits from this should override this method
Molecular dynamics optimizer on 1-D and 3-D particles.
Simple molecular dynamics optimizer.
Various general useful macros for IMP.
double Float
Basic floating-point value (could be float, double...).
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A smart pointer to a ref-counted Object that is a class member.
A smart pointer to a reference counted object.