8#ifndef IMPKERNEL_SAMPLER_H
9#define IMPKERNEL_SAMPLER_H
11#include <IMP/kernel_config.h>
19IMPKERNEL_BEGIN_NAMESPACE
36 Sampler(
Model *m, std::string name =
"Sampler %1%");
47 "Use Sampler::set_scoring_function() to set one.",
54 Model *get_model()
const {
return model_; }
57 virtual ConfigurationSet *do_sample()
const = 0;
66IMPKERNEL_END_NAMESPACE
Store a set of configurations of the model.
Storage of a model, its restraints, constraints and particles.
A shared base class to help in debugging and things.
A nullptr-initialized pointer to an IMP Object.
#define IMP_THROW(message, exception_name)
Throw an exception with a message.
A class to store a set of configurations of a model.
Class for storing model, its restraints, constraints, and particles.
Common base class for heavy weight IMP objects.
Base class for all samplers.
ScoringFunction * get_scoring_function() const
Return the scoring function that is being used.
Represents a scoring function on the model.
An exception for an invalid value being passed to IMP.
Control display of deprecation information.
IMP::Vector< IMP::Pointer< Sampler > > Samplers
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
Macros to help with reference counting.
#define IMP_REF_COUNTED_NONTRIVIAL_DESTRUCTOR(Name)
A smart pointer to a ref-counted Object that is a class member.