|
Rosetta
|
A wrapper class around MonteCarlo that uses both centroid and FA scorefxns. More...
#include <MixedMonteCarlo.hh>

Public Member Functions | |
| MixedMonteCarlo (core::pose::Pose const &low_pose, core::pose::Pose const &high_pose, core::scoring::ScoreFunction const &low_scorefxn, core::scoring::ScoreFunction const &high_scorefxn, core::Real const tuning_param, core::Real const temperature) | |
| Default constructor. More... | |
| ~MixedMonteCarlo () override | |
| Destructor. More... | |
| bool | boltzmann (core::pose::Pose &low_pose, core::pose::Pose &high_pose, std::string const &move_type="unk") |
| This method should evaluate net score from CG and AA modes. More... | |
| void | reset (core::pose::Pose const &low_pose, core::pose::Pose const &high_pose) |
| Sets the lowest and last accepted poses to pose and calls MC reset. More... | |
| core::pose::Pose const & | last_accepted_pose () const |
| this gets you only the low-res pose More... | |
| core::pose::Pose const & | lowest_score_pose () const |
| this gets you only the low-res pose More... | |
| void | recover_low (core::pose::Pose &high_pose) |
| Copies the lowest_score_ pose into the input pose as well as in the last_accepted_ pose. More... | |
| void | recover_low (core::pose::Pose &low_pose, core::pose::Pose &high_pose) |
| Copies the lowest_score_ pose into the input pose as well as in the last_accepted_ pose. Returns the highres pose. More... | |
| core::scoring::ScoreFunction const & | highres_score_function () const |
| Returns the highres scorefxn. More... | |
| core::scoring::ScoreFunction const & | lowres_score_function () const |
| Returns the lowres scorefxn. More... | |
| void | show_scores () const |
| Displays the last accepted and lowest scores. More... | |
| core::Real | last_accepted_score () const |
| Resets the mover counters. More... | |
| core::Real | lowest_score () const |
| Returns the score value of the lowest score pose encountered. More... | |
| protocols::moves::MonteCarlo const & | MC () const |
| Const access to the MC object. More... | |
Private Member Functions | |
| void | reset_mmc (core::pose::Pose const &high_pose) |
| Clone operation: make a copy of this object, and return an owning pointer to the copy. More... | |
| core::Real | score_mixed_res (core::pose::Pose const &low_pose, core::pose::Pose const &high_pose) |
| Returns the mixed resolution score. More... | |
| MixedMonteCarlo & | operator= (MixedMonteCarlo const &rhs) |
| Assignment operator. More... | |
| MixedMonteCarlo () | |
| Declared only for the #inclusion drive. More... | |
| MixedMonteCarlo (MixedMonteCarlo const &rhs) | |
| Declared only for the #inclusion drive. More... | |
Private Attributes | |
| core::pose::PoseOP | last_accepted_pose_ |
| accepted structure More... | |
| core::pose::PoseOP | lowest_score_pose_ |
| Lowest structure we have seen. More... | |
| core::scoring::ScoreFunctionOP | lowres_scorefxn_ |
| Internal scoring functions for force calls if not set. More... | |
| core::scoring::ScoreFunctionOP | highres_scorefxn_ |
| core::Real | tuning_param_ |
| Tuning parameter for scorefxns. More... | |
| protocols::moves::MonteCarlo | MC_ |
| Getting the MC object. More... | |
A wrapper class around MonteCarlo that uses both centroid and FA scorefxns.
A Hybrid Monte Carlo mover that employs both centroid and ful-atom score functions. The purpose of this object is to use a combination of centroid and full-atom scorefxn for Boltzmann scoring but only use only the full-atom pose for bookkeeping. This object is particularly important for Resolution Exchange MC based docking.
| protocols::moves::MixedMonteCarlo::MixedMonteCarlo | ( | core::pose::Pose const & | low_pose, |
| core::pose::Pose const & | high_pose, | ||
| core::scoring::ScoreFunction const & | low_scorefxn, | ||
| core::scoring::ScoreFunction const & | high_scorefxn, | ||
| core::Real const | tuning_param, | ||
| core::Real const | temperature | ||
| ) |
Default constructor.
Constructors ///.
Default Constructor. This would call the MC Constructor as well.
References core::scoring::ScoreFunction::clone(), highres_scorefxn_, lowres_scorefxn_, reset(), and tuning_param_.
|
overridedefault |
Destructor.
|
private |
Declared only for the #inclusion drive.
|
private |
Declared only for the #inclusion drive.
| bool protocols::moves::MixedMonteCarlo::boltzmann | ( | core::pose::Pose & | low_pose, |
| core::pose::Pose & | high_pose, | ||
| std::string const & | move_type = "unk" |
||
| ) |
This method should evaluate net score from CG and AA modes.
Boltzmann for MixedMC. Gets the score and passes to the MC boltzman.
Returns true for an accept, and false otherwise MC_accepted 3 = accepted : score beats low_score and last_accepted score 2 = accepted : score beats last_accepted score 1 = thermally accepted: score worse than last_accepted score 0 = not accepted
References protocols::moves::MonteCarlo::boltzmann(), last_accepted_pose_, MC_, protocols::moves::MonteCarlo::mc_accepted(), protocols::moves::MCA_accepted_score_beat_last, protocols::moves::MCA_accepted_score_beat_low, protocols::moves::MCA_accepted_thermally, protocols::moves::MCA_rejected, reset_mmc(), protocols::hybridization::score, and score_mixed_res().
| core::scoring::ScoreFunction const & protocols::moves::MixedMonteCarlo::highres_score_function | ( | ) | const |
Returns the highres scorefxn.
References highres_scorefxn_.
|
inline |
this gets you only the low-res pose
References last_accepted_pose_.
| core::Real protocols::moves::MixedMonteCarlo::last_accepted_score | ( | ) | const |
Resets the mover counters.
Displays the number of trials performed, fraction of trial moves accepted, and the average energy drop per accepted trial by mover types applied (unknown movers or perturbations are listed as "unktrials")
Returns the total number of trials since the last reset
Returns the score value of the last accepted pose
References protocols::moves::MonteCarlo::last_accepted_score(), and MC_.
Referenced by show_scores().
| core::Real protocols::moves::MixedMonteCarlo::lowest_score | ( | ) | const |
Returns the score value of the lowest score pose encountered.
References protocols::moves::MonteCarlo::lowest_score(), and MC_.
Referenced by show_scores().
|
inline |
this gets you only the low-res pose
References lowest_score_pose_.
| core::scoring::ScoreFunction const & protocols::moves::MixedMonteCarlo::lowres_score_function | ( | ) | const |
Returns the lowres scorefxn.
References lowres_scorefxn_.
| protocols::moves::MonteCarlo const & protocols::moves::MixedMonteCarlo::MC | ( | ) | const |
Const access to the MC object.
References MC_.
|
private |
Assignment operator.
| void protocols::moves::MixedMonteCarlo::recover_low | ( | core::pose::Pose & | high_pose | ) |
Copies the lowest_score_ pose into the input pose as well as in the last_accepted_ pose.
Copies the lowest_score_ pose into the input pose as well as in the last_accepted_ pose. Copies action for underlying MC but does not return that pose.
| void protocols::moves::MixedMonteCarlo::recover_low | ( | core::pose::Pose & | low_pose, |
| core::pose::Pose & | high_pose | ||
| ) |
Copies the lowest_score_ pose into the input pose as well as in the last_accepted_ pose. Returns the highres pose.
Returns simulation state to the lowest energy structure that has been observed.
References last_accepted_pose_, lowest_score_pose_, MC_, and protocols::moves::MonteCarlo::recover_low().
| void protocols::moves::MixedMonteCarlo::reset | ( | core::pose::Pose const & | low_pose, |
| core::pose::Pose const & | high_pose | ||
| ) |
Sets the lowest and last accepted poses to pose and calls MC reset.
References MC_, protocols::moves::MonteCarlo::reset(), reset_mmc(), protocols::hybridization::score, and score_mixed_res().
Referenced by MixedMonteCarlo().
|
private |
Clone operation: make a copy of this object, and return an owning pointer to the copy.
Bookkeeping with highres pose.
Methods
Sets the lowest and last accepted low pose to pose
References last_accepted_pose_, and lowest_score_pose_.
Referenced by boltzmann(), and reset().
|
private |
Returns the mixed resolution score.
References highres_scorefxn_, lowres_scorefxn_, protocols::hybridization::score, and tuning_param_.
Referenced by boltzmann(), and reset().
| void protocols::moves::MixedMonteCarlo::show_scores | ( | ) | const |
Displays the last accepted and lowest scores.
Shows the current scores.
References last_accepted_score(), lowest_score(), and protocols::moves::TR().
|
private |
Referenced by highres_score_function(), MixedMonteCarlo(), and score_mixed_res().
|
private |
accepted structure
Referenced by boltzmann(), last_accepted_pose(), recover_low(), and reset_mmc().
|
private |
Lowest structure we have seen.
Referenced by lowest_score_pose(), recover_low(), and reset_mmc().
|
private |
Internal scoring functions for force calls if not set.
Referenced by lowres_score_function(), MixedMonteCarlo(), and score_mixed_res().
|
private |
Getting the MC object.
Referenced by boltzmann(), last_accepted_score(), lowest_score(), MC(), recover_low(), and reset().
|
private |
Tuning parameter for scorefxns.
Referenced by MixedMonteCarlo(), and score_mixed_res().