9 #ifndef IMPCORE_MCCG_SAMPLER_H
10 #define IMPCORE_MCCG_SAMPLER_H
12 #include <IMP/core/core_config.h>
19 #include <IMP/kernel/internal/InternalListSingletonContainer.h>
21 IMPCORE_BEGIN_NAMESPACE
42 unsigned int cg_steps_;
44 typedef std::map<FloatKey, double> BallSizes;
45 BallSizes ball_sizes_;
46 typedef std::map<FloatKey, std::pair<Float, Float> > Bounds;
48 unsigned int attempts_;
53 Parameters default_parameters_;
57 Parameters fill_in_parameters()
const;
58 void randomize(
const Parameters &pms,
59 IMP::internal::InternalListSingletonContainer *sc)
const;
60 IMP::internal::InternalListSingletonContainer *set_up_movers(
77 void set_number_of_attempts(
unsigned int att);
80 void set_number_of_monte_carlo_steps(
unsigned int cg);
83 void set_number_of_conjugate_gradient_steps(
unsigned int cg);
87 void set_max_monte_carlo_step_size(
double d);
93 void set_max_monte_carlo_step_size(
FloatKey k,
double d);
97 void set_is_refining(
bool tf);
100 void set_local_optimizer(
Optimizer *opt);
107 void set_save_rejected_configurations(
bool tf);
122 IMPCORE_END_NAMESPACE
A class to store a set of configurations of a model.
Import IMP/kernel/sampler_macros.h in the namespace.
A smart pointer to a ref-counted Object that is a class memeber.
Shared optimizer state that is invoked upon commitment of new coordinates.
A smart pointer to a reference counted object.
Import IMP/kernel/Optimizer.h in the namespace.
Import IMP/kernel/container_macros.h in the namespace.
Import IMP/kernel/Sampler.h in the namespace.
A bounding box in D dimensions.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Base class for all optimizers.
IMP::base::Vector< IMP::base::Pointer< OptimizerState > > OptimizerStates
Base class for all samplers.
#define IMP_LIST(protection, Ucname, lcname, Data, PluralData)
A macro to provide a uniform interface for storing lists of objects.
Class for storing model, its restraints, constraints, and particles.