Rosetta
|
#include <CanonicalSamplingMover.hh>
Public Member Functions | |
CanonicalSamplingMover () | |
CanonicalSamplingMover (core::scoring::ScoreFunctionOP sfxn, protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP ptr, int ntrial) | |
void | add_mover (protocols::moves::MoverOP m, core::Real weight) |
std::string | get_ABGEO_string (core::pose::Pose &pose, protocols::loops::Loops &loop) |
void | ntrials (int ntrial) |
void | set_defaults_from_cmdline () |
void | set_temp (core::Real temperature) |
core::Real | get_temp () |
void | set_interval_pose_dump (int p_interval) |
void | set_interval_data_dump (int d_interval) |
void | set_scorefunction (core::scoring::ScoreFunctionOP sfxn) |
void | detailed_balance (bool truefalse) |
bool | detailed_balance () const |
core::Real | transition_threshold () const |
void | use_MPI_sync_pools (bool truefalse) |
bool | use_MPI_sync_pools () const |
void | use_MPI_bcast (bool truefalse) |
bool | use_MPI_bcast () const |
void | use_hierarchical_clustering (bool truefalse) |
bool | use_hierarchical_clustering () const |
void | output_only_cluster_transitions (bool truefalse) |
void | set_poolrmsd (protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP ptr) |
void | apply (core::pose::Pose &pose) override |
Main Method. More... | |
std::string | get_name () const override |
Each derived class must specify its name. The class name. More... | |
![]() | |
Mover () | |
virtual MoverOP | create () |
MoverCOP | get_self_ptr () const |
MoverOP | get_self_ptr () |
MoverCAP | get_self_weak_ptr () const |
MoverAP | get_self_weak_ptr () |
Mover (std::string const &type_name) | |
sets the type for a mover; name_ has been removed (2010/05/14) More... | |
virtual void | test_move (Pose &pose) |
: Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying More... | |
virtual MoverOP | clone () const |
Return a clone of the Mover object. More... | |
virtual bool | reinitialize_for_each_job () const |
Inform the Job Distributor (August '08 vintage) whether this object needs to be freshly regenerated on each use. More... | |
virtual bool | reinitialize_for_new_input () const |
Inform the Job Distributor (August '08 vintage) whether this object needs to be regenerated when the input pose is about to change, (for example, if the Mover has special code on the first apply() that is only valid for that one input pose). More... | |
virtual MoverOP | fresh_instance () const |
Generates a new Mover object freshly created with the default ctor. More... | |
MoverStatus | get_last_move_status () const |
end parser interface, start Job Distributor interface///////////// More... | |
void | reset_status () |
resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s. More... | |
virtual core::pose::PoseOP | get_additional_output () |
Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
void | set_type (std::string const &setting) |
Set the 'type' string. More... | |
std::string | get_type () const |
void | type (const std::string &type_in) |
Set the 'type' string. More... | |
std::string const & | type () const |
Get the set 'type' string. More... | |
virtual void | set_input_pose (PoseCOP pose) |
setter for poses contained for rms More... | |
virtual void | set_native_pose (PoseCOP pose) |
setter for native poses contained for rms -— we should get rid of this method? it is widely used, but a bit unsafe More... | |
PoseCOP | get_input_pose () const |
PoseCOP | get_native_pose () const |
virtual void | parse_my_tag (TagCOP tag, basic::datacache::DataMap &data) |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
virtual void | set_current_tag (std::string const &new_tag) |
std::string | get_current_tag () const |
A tag is a unique identifier used to identify structures produced by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor. More... | |
virtual void | show (std::ostream &output=std::cout) const |
Outputs details about the Mover, including current settings. More... | |
virtual core::Real | last_proposal_density_ratio () |
virtual void | clear_info () |
Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file. More... | |
virtual Strings & | info () |
non-const accessor More... | |
virtual Strings const & | info () const |
const accessor More... | |
virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
static void | register_options () |
![]() | |
static std::string | name () |
static void | register_options () |
Overload this static method if you access options within the mover. More... | |
Private Member Functions | |
core::Real | periodic_range (core::Real a, core::Real x) |
void | dump_xtc_format_decoy (std::ostream &os, core::pose::Pose const &pose, loops::Loops const &loop_to_dump) |
void | dump_decoy_or_score (std::ostream &os, core::pose::Pose const &pose, core::Size i_trial, std::string const &jobname, loops::Loops const &loop_to_dump, bool score_only=false) |
void | setup_constraints (core::pose::Pose &pose) |
Static Private Attributes | |
static bool | options_registered_ |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
typedef core::pose::Pose | Pose |
typedef core::pose::PoseCOP | PoseCOP |
typedef std::list< std::string > | Strings |
![]() | |
void | set_last_move_status (MoverStatus status) |
nonvirtual setter for MoverStatus last_status_. Protected means that only the mover itself will be able to change its own status. The job distributor (august 08 vintage) is aware of status set with this function and will do what the MoverStatus says. More... | |
protocols::canonical_sampling::CanonicalSamplingMover::CanonicalSamplingMover | ( | ) |
References set_defaults_from_cmdline().
protocols::canonical_sampling::CanonicalSamplingMover::CanonicalSamplingMover | ( | core::scoring::ScoreFunctionOP | sfxn, |
protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP | ptr, | ||
int | ntrial | ||
) |
References set_defaults_from_cmdline().
void protocols::canonical_sampling::CanonicalSamplingMover::add_mover | ( | protocols::moves::MoverOP | m, |
core::Real | weight | ||
) |
References protocols::simple_moves::bb_sampler::probability, and randmove_.
|
overridevirtual |
Main Method.
Implements protocols::moves::Mover.
References protocols::viewer::add_conformation_viewer(), core::scoring::constraints::add_constraints_from_cmdline(), core::scoring::atom_pair_constraint, protocols::loops::Loops::begin(), boinc_mode_, core::scoring::CA_rmsd(), core::energy_methods::RG_Energy_Fast::calculate_rg_score(), core::pose::Pose::conformation(), protocols::jd2::JobDistributor::current_job(), protocols::jd2::current_output_name(), detailed_balance_, dump_decoy_or_score(), core::sequence::end, protocols::loops::Loops::end(), core::chemical::element::F, get_ABGEO_string(), protocols::jd2::JobDistributor::get_instance(), core::io::silent::gzip(), core::init::init(), interval_posedump_, interval_transitiondump_, protocols::jd2::JobDistributor::job_outputter(), protocols::canonical_sampling::jobname_dirhash(), mc_, MPI_bcast_, MPI_synchronize_pools_, protocols::moves::Mover::name(), ntrials_, protocols::loops::Loops::num_loop(), output_only_cluster_transition_, pool_rms_, core::io::raw_data::precision(), ramp_temperature_, randmove_, core::io::silent::SilentFileData::read_file(), core::io::silent::SilentFileData::read_tags_fast(), core::pose::Pose::remove_constraints(), save_loops_only_, core::io::silent::SilentFileData::set_filename(), setup_constraints(), sfxn_, core::pose::Pose::size(), protocols::canonical_sampling::tr(), transition_threshold_, and use_hierarchical_clustering_.
|
inline |
References detailed_balance_.
Referenced by set_defaults_from_cmdline().
void protocols::canonical_sampling::CanonicalSamplingMover::detailed_balance | ( | bool | truefalse | ) |
References detailed_balance_.
|
private |
void CanonicalSamplingMover::dump_xtc_format_decoy( std::ostream& os, core::pose::Pose const& pose, loops::Loops const& loop_to_dump ) {
}
References boinc_mode_, dump_loops_only_, interval_posedump_, interval_transitiondump_, protocols::loops::Loops::num_loop(), and core::io::silent::SilentFileData::write_silent_struct().
Referenced by apply().
|
private |
std::string protocols::canonical_sampling::CanonicalSamplingMover::get_ABGEO_string | ( | core::pose::Pose & | pose, |
protocols::loops::Loops & | loop | ||
) |
References core::pose::Pose::omega(), core::scoring::omega, periodic_range(), core::pose::Pose::phi(), and core::pose::Pose::psi().
Referenced by apply().
|
overridevirtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
|
inline |
References temperature_.
void protocols::canonical_sampling::CanonicalSamplingMover::ntrials | ( | int | ntrial | ) |
References ntrials_.
Referenced by set_defaults_from_cmdline().
void protocols::canonical_sampling::CanonicalSamplingMover::output_only_cluster_transitions | ( | bool | truefalse | ) |
References output_only_cluster_transition_.
Referenced by set_defaults_from_cmdline().
|
private |
References core::pose::motif::a().
Referenced by get_ABGEO_string().
|
static |
References protocols::evaluation::options_registered_, and protocols::hybridization::path.
void protocols::canonical_sampling::CanonicalSamplingMover::set_defaults_from_cmdline | ( | ) |
void protocols::canonical_sampling::CanonicalSamplingMover::set_interval_data_dump | ( | int | d_interval | ) |
References interval_transitiondump_.
Referenced by set_defaults_from_cmdline().
void protocols::canonical_sampling::CanonicalSamplingMover::set_interval_pose_dump | ( | int | p_interval | ) |
References interval_posedump_.
Referenced by set_defaults_from_cmdline().
void protocols::canonical_sampling::CanonicalSamplingMover::set_poolrmsd | ( | protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP | ptr | ) |
References pool_rms_.
void protocols::canonical_sampling::CanonicalSamplingMover::set_scorefunction | ( | core::scoring::ScoreFunctionOP | sfxn | ) |
References sfxn_.
void protocols::canonical_sampling::CanonicalSamplingMover::set_temp | ( | core::Real | temperature | ) |
References mc_, sfxn_, and temperature_.
|
private |
|
inline |
References transition_threshold_.
|
inline |
References use_hierarchical_clustering_.
void protocols::canonical_sampling::CanonicalSamplingMover::use_hierarchical_clustering | ( | bool | truefalse | ) |
References use_hierarchical_clustering_.
|
inline |
References MPI_bcast_.
void protocols::canonical_sampling::CanonicalSamplingMover::use_MPI_bcast | ( | bool | truefalse | ) |
References MPI_bcast_.
|
inline |
References MPI_synchronize_pools_.
void protocols::canonical_sampling::CanonicalSamplingMover::use_MPI_sync_pools | ( | bool | truefalse | ) |
References MPI_synchronize_pools_.
|
private |
Referenced by apply(), dump_decoy_or_score(), and set_defaults_from_cmdline().
|
private |
Referenced by apply(), and detailed_balance().
|
private |
Referenced by dump_decoy_or_score(), and set_defaults_from_cmdline().
|
private |
Referenced by apply(), dump_decoy_or_score(), and set_interval_pose_dump().
|
private |
Referenced by apply(), dump_decoy_or_score(), and set_interval_data_dump().
|
private |
Referenced by apply(), and set_temp().
|
private |
Referenced by apply(), and use_MPI_bcast().
|
private |
Referenced by apply(), and use_MPI_sync_pools().
|
private |
|
staticprivate |
Referenced by set_defaults_from_cmdline().
|
private |
Referenced by apply(), and output_only_cluster_transitions().
|
private |
Referenced by apply(), and set_poolrmsd().
|
private |
Referenced by apply(), and set_defaults_from_cmdline().
|
private |
Referenced by add_mover(), and apply().
|
private |
Referenced by apply(), and set_defaults_from_cmdline().
|
private |
Referenced by apply(), set_scorefunction(), and set_temp().
|
private |
Referenced by get_temp(), and set_temp().
|
private |
Referenced by apply(), set_defaults_from_cmdline(), and transition_threshold().
|
private |
Referenced by apply(), and use_hierarchical_clustering().