|
Rosetta 3.5
|
#include <CheckPointer.hh>


Public Member Functions | |
| CheckPointer (std::string const &type) | |
| virtual | ~CheckPointer () |
| void | clear_checkpoints () |
| void | flush_checkpoints () |
| bool | recover_checkpoint (core::pose::Pose &pose, moves::MonteCarlo *mc, std::string const ¤t_tag, std::string const &id, bool fullatom=false, bool foldtree=false) |
| bool | recover_checkpoint (core::pose::Pose &pose, moves::MonteCarloOP mc, std::string const ¤t_tag, std::string const &id, bool fullatom=false, bool foldtree=false) |
| bool | recover_checkpoint (core::pose::Pose &pose, std::string const ¤t_tag, std::string const &id, bool fullatom=false, bool foldtree=false) |
| void | checkpoint (core::pose::Pose &pose, moves::MonteCarlo *mc, std::string const ¤t_tag, std::string const &id, bool foldtree=false) |
| void | checkpoint (core::pose::Pose &pose, moves::MonteCarloOP mc, std::string const ¤t_tag, std::string const &id, bool foldtree=false) |
| void | checkpoint (core::pose::Pose &pose, std::string const ¤t_tag, std::string const &id, bool foldtree=false) |
| std::string const & | type () const |
| void | set_type (const std::string &new_type) |
| void | debug (const std::string &tag, const std::string &label, core::Real data1, core::Real data2=0.0, core::Real data3=0.0) const |
| print checksum data More... | |
| void | set_disabled (bool value=true) |
| bool | get_disabled () const |
| core::Size | get_checkpoint_recoveries () const |
Private Member Functions | |
| core::Size | file_buffer_size () |
Private Attributes | |
| std::string | type_ |
| std::vector< std::string > | checkpoint_ids_ |
| bool | disabled_ |
| bool | delete_checkpoints_ |
| core::Size | count_checkpoint_recoveries_ |
| std::vector< FileBuffer > | file_buffer |
Definition at line 78 of file CheckPointer.hh.
| protocols::checkpoint::CheckPointer::CheckPointer | ( | std::string const & | type) |
Definition at line 138 of file CheckPointer.cc.
References delete_checkpoints_, and disabled_.
|
inlinevirtual |
Definition at line 82 of file CheckPointer.hh.
References clear_checkpoints().
| void protocols::checkpoint::CheckPointer::checkpoint | ( | core::pose::Pose & | pose, |
| moves::MonteCarlo * | mc, | ||
| std::string const & | current_tag, | ||
| std::string const & | id, | ||
| bool | foldtree = false |
||
| ) |
Definition at line 176 of file CheckPointer.cc.
References protocols::boinc::watchdog::bailout_mutex, protocols::boinc::watchdog::bailout_silent_structure, protocols::boinc::watchdog::bailout_silent_structure_header, checkpoint_ids_, disabled_, file_buffer, file_buffer_size(), flush_checkpoints(), core::io::silent::SilentStructFactory::get_instance(), core::io::silent::SilentStructFactory::get_silent_struct_out(), core::pose::Pose::is_fullatom(), protocols::checkpoint::Timer::is_on(), protocols::moves::MonteCarlo::last_accepted_pose(), protocols::moves::MonteCarlo::lowest_score_pose(), protocols::checkpoint::pose_to_binary_silent_file(), protocols::checkpoint::Timer::reset(), protocols::checkpoint::FileBuffer::set_contents(), protocols::checkpoint::Timer::time_to_checkpoint(), core::pose::Pose::total_residue(), protocols::checkpoint::TR(), and type().
Referenced by protocols::relax::ClassicRelax::apply(), protocols::comparative_modeling::LoopRelaxMover::apply(), protocols::relax::FastRelax::apply(), protocols::abinitio::ClassicAbinitio::apply(), checkpoint(), protocols::abinitio::MembraneAbinitio::checkpoint(), protocols::abinitio::FragmentSampler::checkpointed_cycle_block(), protocols::jumping::close_chainbreaks(), protocols::abinitio::AbrelaxApplication::close_loops(), protocols::abinitio::FragmentSampler::do_stage3_cycles(), protocols::abinitio::ClassicAbinitio::do_stage3_cycles(), protocols::abinitio::FragmentSampler::do_stage4_cycles(), protocols::abinitio::ClassicAbinitio::do_stage4_cycles(), protocols::abinitio::AbrelaxApplication::fold(), and protocols::abinitio::AbrelaxApplication::relax().
|
inline |
Definition at line 130 of file CheckPointer.hh.
References checkpoint().
|
inline |
Definition at line 140 of file CheckPointer.hh.
References checkpoint().
| void protocols::checkpoint::CheckPointer::clear_checkpoints | ( | void | ) |
Definition at line 412 of file CheckPointer.cc.
References checkpoint_ids_, delete_checkpoints_, disabled_, file_buffer, protocols::checkpoint::TR(), and type().
Referenced by protocols::relax::FastRelax::apply(), protocols::abinitio::MembraneAbinitio::clear_checkpoints(), protocols::abinitio::AbrelaxApplication::fold(), and ~CheckPointer().
| void protocols::checkpoint::CheckPointer::debug | ( | const std::string & | tag, |
| const std::string & | label, | ||
| core::Real | data1, | ||
| core::Real | data2 = 0.0, |
||
| core::Real | data3 = 0.0 |
||
| ) | const |
print checksum data
Definition at line 149 of file CheckPointer.cc.
References disabled_, and protocols::checkpoint::TR().
Referenced by protocols::comparative_modeling::LoopRelaxMover::apply(), protocols::abinitio::ClassicAbinitio::apply(), protocols::abinitio::FragmentSampler::checkpointed_cycle_block(), protocols::abinitio::AbrelaxApplication::close_loops(), protocols::abinitio::FragmentSampler::do_stage3_cycles(), protocols::abinitio::ClassicAbinitio::do_stage3_cycles(), protocols::abinitio::FragmentSampler::do_stage4_cycles(), protocols::abinitio::ClassicAbinitio::do_stage4_cycles(), protocols::abinitio::AbrelaxApplication::fold(), recover_checkpoint(), and protocols::abinitio::AbrelaxApplication::relax().
|
private |
| void protocols::checkpoint::CheckPointer::flush_checkpoints | ( | ) |
Definition at line 159 of file CheckPointer.cc.
References file_buffer.
Referenced by protocols::abinitio::FragmentSampler::apply(), protocols::abinitio::ClassicAbinitio::apply(), and checkpoint().
|
inline |
Definition at line 166 of file CheckPointer.hh.
References count_checkpoint_recoveries_.
Referenced by protocols::abinitio::AbrelaxApplication::fold().
|
inline |
Definition at line 164 of file CheckPointer.hh.
References disabled_.
| bool protocols::checkpoint::CheckPointer::recover_checkpoint | ( | core::pose::Pose & | pose, |
| moves::MonteCarlo * | mc, | ||
| std::string const & | current_tag, | ||
| std::string const & | id, | ||
| bool | fullatom = false, |
||
| bool | foldtree = false |
||
| ) |
Definition at line 323 of file CheckPointer.cc.
References core::chemical::CENTROID, checkpoint_ids_, count_checkpoint_recoveries_, core::pack::interaction_graph::debug, debug(), disabled_, core::io::pdb::FileData::dump_pdb(), core::chemical::FA_STANDARD, protocols::swa::rna::file_exists(), core::chemical::ChemicalManager::get_instance(), core::pose::Pose::is_fullatom(), protocols::checkpoint::Timer::is_on(), protocols::moves::MonteCarlo::last_accepted_pose(), protocols::moves::MonteCarlo::lowest_score_pose(), protocols::checkpoint::pose_from_binary_silent_file(), core::chemical::ChemicalManager::residue_type_set(), protocols::moves::MonteCarlo::set_last_accepted_pose(), protocols::moves::MonteCarlo::set_lowest_score_pose(), protocols::checkpoint::TR(), and type().
Referenced by protocols::relax::ClassicRelax::apply(), protocols::comparative_modeling::LoopRelaxMover::apply(), protocols::relax::FastRelax::apply(), protocols::jumping::close_chainbreaks(), protocols::abinitio::AbrelaxApplication::close_loops(), protocols::abinitio::AbrelaxApplication::fold(), recover_checkpoint(), protocols::abinitio::MembraneAbinitio::recover_checkpoint(), and protocols::abinitio::AbrelaxApplication::relax().
|
inline |
Definition at line 99 of file CheckPointer.hh.
References recover_checkpoint().
|
inline |
Definition at line 111 of file CheckPointer.hh.
References recover_checkpoint().
|
inline |
Definition at line 163 of file CheckPointer.hh.
References disabled_.
|
inline |
Definition at line 155 of file CheckPointer.hh.
References type_.
Referenced by protocols::abinitio::ClassicAbinitio::ClassicAbinitio().
|
inline |
Definition at line 151 of file CheckPointer.hh.
References type_.
Referenced by checkpoint(), clear_checkpoints(), and recover_checkpoint().
|
private |
Definition at line 169 of file CheckPointer.hh.
Referenced by checkpoint(), clear_checkpoints(), and recover_checkpoint().
|
private |
Definition at line 173 of file CheckPointer.hh.
Referenced by get_checkpoint_recoveries(), and recover_checkpoint().
|
private |
Definition at line 172 of file CheckPointer.hh.
Referenced by CheckPointer(), and clear_checkpoints().
|
private |
Definition at line 171 of file CheckPointer.hh.
Referenced by checkpoint(), CheckPointer(), clear_checkpoints(), debug(), get_disabled(), recover_checkpoint(), and set_disabled().
|
private |
Definition at line 178 of file CheckPointer.hh.
Referenced by checkpoint(), clear_checkpoints(), file_buffer_size(), and flush_checkpoints().
|
private |
Definition at line 168 of file CheckPointer.hh.
Referenced by set_type(), and type().
1.8.4