IMP  2.2.0
The Integrative Modeling Platform
IMP::mpi::ReplicaExchange Class Reference

A class to implement Hamiltonian Replica Exchange. More...

#include <IMP/mpi/ReplicaExchange.h>

+ Inheritance diagram for IMP::mpi::ReplicaExchange:

Public Member Functions

Floats create_temperatures (double tmin, double tmax, int nrep)
 Initialize array of temperatures. More...
 
bool do_exchange (double myscore0, double myscore1, int findex)
 Try an exchange.
 
Ints get_exchange_array ()
 Get the array with exchange acceptance.
 
int get_friend_index (int istep)
 Get the index of friend with which trying an exchange.
 
Floats get_friend_parameter (std::string key, int findex)
 Get the value of my friend's parameter.
 
int get_my_index () const
 Get replica index.
 
Floats get_my_parameter (std::string key)
 Get the value of my exchange parameter.
 
int get_number_of_replicas () const
 Get number of replicas.
 
virtual std::string get_type_name () const
 
virtual ::IMP::base::VersionInfo get_version_info () const
 Get information about the module and version of the object.
 
void set_my_parameter (std::string key, Floats values)
 Set exchange parameter.
 
- Public Member Functions inherited from IMP::base::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
LogLevel get_log_level () const
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)
 Construct an object with the given name. More...
 

Detailed Description

Any model parameter can be used as exchange parameter: temperature, restraint intensity, ...

Definition at line 23 of file ReplicaExchange.h.

Member Function Documentation

Floats IMP::mpi::ReplicaExchange::create_temperatures ( double  tmin,
double  tmax,
int  nrep 
)

Temperatures are distributed according to a geometric progression


The documentation for this class was generated from the following file: