Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::moves::SimulatedTempering Class Reference

#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...
 

Private Attributes

utility::vector1< core::Real >
const 
temperatures_
 
utility::vector1< core::Real >
const 
weights_
 
core::scoring::ScoreFunctionOP scorefxn_
 
core::scoring::ScoreFunctionOP rep_scorefxn_
 
core::Size temp_id_
 
core::Real cached_score_
 
core::Real rep_cutoff_
 

Constructor & Destructor Documentation

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.

Member Function Documentation

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_.

void protocols::moves::SimulatedTempering::set_rep_cutoff ( core::Real const  setting)
inline

Sets cutoff of repusion filter, use 0 to turn it off.

References rep_cutoff_.

bool protocols::moves::SimulatedTempering::t_jump ( )
core::Size protocols::moves::SimulatedTempering::temp_id ( ) const
inline

Get the id of current temperature.

References temp_id_.

core::Real protocols::moves::SimulatedTempering::temperature ( ) const
inline

Get the current temperature.

References temp_id_, and temperatures_.

Referenced by boltzmann(), and t_jump().

Member Data Documentation

core::Real protocols::moves::SimulatedTempering::cached_score_
private

Referenced by boltzmann(), and t_jump().

core::Real protocols::moves::SimulatedTempering::rep_cutoff_
private

Referenced by boltzmann(), and set_rep_cutoff().

core::scoring::ScoreFunctionOP protocols::moves::SimulatedTempering::rep_scorefxn_
private

Referenced by SimulatedTempering().

core::scoring::ScoreFunctionOP protocols::moves::SimulatedTempering::scorefxn_
private

Referenced by score_function().

core::Size protocols::moves::SimulatedTempering::temp_id_
private

Referenced by t_jump(), temp_id(), and temperature().

utility::vector1<core::Real> const protocols::moves::SimulatedTempering::temperatures_
private

Referenced by t_jump(), and temperature().

utility::vector1<core::Real> const protocols::moves::SimulatedTempering::weights_
private

Referenced by t_jump().


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