![]() |
Rosetta Protocols
2014.35
|
#include <SimulatedTempering.hh>
Public Member Functions | |
SimulatedTempering (core::pose::Pose &pose, core::scoring::ScoreFunctionOP const &scorefxn, utility::vector1< core::Real > const &temperatures, utility::vector1< core::Real > const &weights) | |
bool | boltzmann (core::pose::Pose &pose) |
Applies the Metropolis Criterion on pose. More... | |
bool | t_jump () |
Attempt temperature jumping. More... | |
core::Size | temp_id () const |
Get the id of current temperature. More... | |
core::Real | temperature () const |
Get the current temperature. More... | |
void | score_function (core::scoring::ScoreFunctionOP const &scorefxn) |
Sets the ScoreFunction to <scorefxn> More... | |
void | set_rep_cutoff (core::Real const setting) |
Sets cutoff of repusion filter, use 0 to turn it off. More... | |
core::scoring::ScoreFunctionOP | score_function () const |
Returns the MonteCarlo ScoreFunction. More... | |
protocols::moves::SimulatedTempering::SimulatedTempering | ( | core::pose::Pose & | pose, |
core::scoring::ScoreFunctionOP const & | scorefxn, | ||
utility::vector1< core::Real > const & | temperatures, | ||
utility::vector1< core::Real > const & | weights | ||
) |
References fa_rep, rep_scorefxn_, and runtime_assert.
bool protocols::moves::SimulatedTempering::boltzmann | ( | core::pose::Pose & | pose | ) |
Applies the Metropolis Criterion on pose.
References cached_score_, rep_cutoff_, protocols::moves::RG, temperature(), and numeric::random::RandomGenerator::uniform().
void protocols::moves::SimulatedTempering::score_function | ( | core::scoring::ScoreFunctionOP const & | scorefxn | ) |
Sets the ScoreFunction to <scorefxn>
References scorefxn_.
ScoreFunctionOP protocols::moves::SimulatedTempering::score_function | ( | ) | const |
Returns the MonteCarlo ScoreFunction.
References scorefxn_.
|
inline |
Sets cutoff of repusion filter, use 0 to turn it off.
References rep_cutoff_.
bool protocols::moves::SimulatedTempering::t_jump | ( | ) |
Attempt temperature jumping.
References cached_score_, protocols::moves::RG, temp_id_, temperature(), temperatures_, numeric::random::RandomGenerator::uniform(), and weights_.
|
inline |
Get the id of current temperature.
References temp_id_.
|
inline |
Get the current temperature.
References temp_id_, and temperatures_.
Referenced by boltzmann(), and t_jump().
|
private |
Referenced by boltzmann(), and t_jump().
|
private |
Referenced by boltzmann(), and set_rep_cutoff().
|
private |
Referenced by SimulatedTempering().
|
private |
Referenced by score_function().
|
private |
Referenced by t_jump(), temp_id(), and temperature().
|
private |
Referenced by t_jump(), and temperature().
|
private |
Referenced by t_jump().