Rosetta 3.5
|
#include <PackDaemon.hh>
Public Member Functions | |
PackDaemon () | |
virtual | ~PackDaemon () |
void | set_pose_and_task (Pose const &, PackerTask const &) |
void | set_score_function (ScoreFunction const &) |
void | set_entity_correspondence (EntityCorrespondence const &) |
void | set_include_background_energies (bool setting) |
void | set_dlig_nmeg_limit (Size setting) |
restrict the amount of memory spent on storing Rotamer Pair Energies in the DoubleLazyInteractionGraph; More... | |
void | setup () |
Real | compute_energy_for_assignment (Entity const &) |
Repack the structure with the Entity This function proceeds in two steps: it creates a list of rotamer indices to be used during the repacking, and then it uses that list to repack the rotamers. The first step is taken care of by the select_rotamer_subset method. More... | |
utility::vector0< int > | select_rotamer_subset (Entity const &) const |
void | mark_last_entity_as_important () |
void | mark_entity_as_unimportant (Entity const &) |
PoseCOP | pose () const |
ScoreFunctionCOP | score_function () const |
PackerTaskCOP | task () const |
EntityCorrespondenceCOP | correspondence () const |
FixedBBInteractionGraphCOP | ig () const |
RotamerSetsCOP | rot_sets () const |
RotamerAssignmentAndEnergy const & | best_assignment () const |
RotamerAssignmentAndEnergy const & | last_assignment () const |
PoseOP | recreate_pose_for_entity (Entity const &) const |
void | assign_last_rotamers_to_pose (Pose &pose) const |
void | print_entity_history () const |
Private Member Functions | |
void | calculate_background_energies () |
typedef protocols::genetic_algorithm::EntityElementsEqual protocols::pack_daemon::PackDaemon::EntElemEq |
typedef protocols::genetic_algorithm::EntityElement protocols::pack_daemon::PackDaemon::EntityElement |
typedef protocols::genetic_algorithm::EntityElementOP protocols::pack_daemon::PackDaemon::EntityElementOP |
typedef protocols::genetic_algorithm::EntityElements protocols::pack_daemon::PackDaemon::EntityElements |
typedef boost::unordered_map< EntityElements, RotamerAssignmentAndEnergy, Vec1Hash, EntElemEq > protocols::pack_daemon::PackDaemon::EntityToRotamerHash |
typedef core::pack::interaction_graph::FixedBBInteractionGraphCOP protocols::pack_daemon::PackDaemon::FixedBBInteractionGraphCOP |
typedef core::pack::interaction_graph::FixedBBInteractionGraphOP protocols::pack_daemon::PackDaemon::FixedBBInteractionGraphOP |
typedef core::pack::interaction_graph::InteractionGraphBaseCOP protocols::pack_daemon::PackDaemon::InteractionGraphBaseCOP |
typedef core::pack::interaction_graph::InteractionGraphBaseOP protocols::pack_daemon::PackDaemon::InteractionGraphBaseOP |
typedef std::pair< RotamerAssignment, Real > protocols::pack_daemon::PackDaemon::RotamerAssignmentAndEnergy |
protocols::pack_daemon::PackDaemon::PackDaemon | ( | ) |
References best_assignment_, and last_assignment_.
|
virtual |
void protocols::pack_daemon::PackDaemon::assign_last_rotamers_to_pose | ( | Pose & | pose) | const |
References last_assignment_, core::pose::Pose::replace_residue(), and rot_sets_.
PackDaemon::RotamerAssignmentAndEnergy const & protocols::pack_daemon::PackDaemon::best_assignment | ( | ) | const |
References best_assignment_.
|
private |
PackDaemon::Real protocols::pack_daemon::PackDaemon::compute_energy_for_assignment | ( | Entity const & | entity) |
Repack the structure with the Entity This function proceeds in two steps: it creates a list of rotamer indices to be used during the repacking, and then it uses that list to repack the rotamers. The first step is taken care of by the select_rotamer_subset method.
References background_energies_, best_assignment_, best_assignment_valid_, best_entity_, protocols::genetic_algorithm::Entity::clone(), last_assignment_, last_entity_, repacker_, and select_rotamer_subset().
EntityCorrespondenceCOP protocols::pack_daemon::PackDaemon::correspondence | ( | ) | const |
References correspondence_.
PackDaemon::FixedBBInteractionGraphCOP protocols::pack_daemon::PackDaemon::ig | ( | ) | const |
PackDaemon::RotamerAssignmentAndEnergy const & protocols::pack_daemon::PackDaemon::last_assignment | ( | ) | const |
References last_assignment_.
void protocols::pack_daemon::PackDaemon::mark_entity_as_unimportant | ( | Entity const & | ent) |
References prev_state_hash_, and protocols::genetic_algorithm::Entity::traits().
void protocols::pack_daemon::PackDaemon::mark_last_entity_as_important | ( | ) |
References last_assignment_, last_entity_, and prev_state_hash_.
PackDaemon::PoseCOP protocols::pack_daemon::PackDaemon::pose | ( | ) | const |
References pose_.
void protocols::pack_daemon::PackDaemon::print_entity_history | ( | ) | const |
References prev_state_hash_, and protocols::pack_daemon::TR().
Referenced by recreate_pose_for_entity().
PackDaemon::PoseOP protocols::pack_daemon::PackDaemon::recreate_pose_for_entity | ( | Entity const & | ent) | const |
PackDaemon::RotamerSetsCOP protocols::pack_daemon::PackDaemon::rot_sets | ( | ) | const |
References rot_sets_.
PackDaemon::ScoreFunctionCOP protocols::pack_daemon::PackDaemon::score_function | ( | ) | const |
References score_function_.
utility::vector0< int > protocols::pack_daemon::PackDaemon::select_rotamer_subset | ( | Entity const & | entity) | const |
References correspondence_, rot_sets_, and protocols::genetic_algorithm::Entity::traits().
Referenced by compute_energy_for_assignment().
void protocols::pack_daemon::PackDaemon::set_dlig_nmeg_limit | ( | Size | setting) |
restrict the amount of memory spent on storing Rotamer Pair Energies in the DoubleLazyInteractionGraph;
References setup_complete_, task_, and protocols::pack_daemon::TR().
void protocols::pack_daemon::PackDaemon::set_entity_correspondence | ( | EntityCorrespondence const & | ec) |
void protocols::pack_daemon::PackDaemon::set_include_background_energies | ( | bool | setting) |
References include_background_energies_, and setup_complete_.
void protocols::pack_daemon::PackDaemon::set_pose_and_task | ( | Pose const & | pose, |
PackerTask const & | task | ||
) |
References core::pack::task::PackerTask::clone(), pose_, setup_complete_, task_, and core::pack::task::PackerTask::total_residue().
Referenced by protocols::pack_daemon::DaemonSet::add_pack_daemon().
void protocols::pack_daemon::PackDaemon::set_score_function | ( | ScoreFunction const & | sfxn) |
References score_function_, and setup_complete_.
void protocols::pack_daemon::PackDaemon::setup | ( | ) |
PackDaemon::PackerTaskCOP protocols::pack_daemon::PackDaemon::task | ( | ) | const |
References task_.
|
private |
Referenced by calculate_background_energies(), and compute_energy_for_assignment().
|
private |
Referenced by best_assignment(), compute_energy_for_assignment(), PackDaemon(), and setup().
|
private |
Referenced by compute_energy_for_assignment().
|
private |
Referenced by compute_energy_for_assignment().
|
private |
Referenced by correspondence(), select_rotamer_subset(), set_entity_correspondence(), and setup().
|
private |
|
private |
Should one-body energies for background residues and two body energies for pairs of background residues be included in the total energy for the state after repacking, along with the energies of those residues which have been repacked?
Referenced by set_include_background_energies(), and setup().
|
private |
|
private |
Referenced by compute_energy_for_assignment(), and mark_last_entity_as_important().
|
private |
Referenced by calculate_background_energies(), pose(), recreate_pose_for_entity(), set_entity_correspondence(), set_pose_and_task(), and setup().
|
private |
|
private |
Referenced by compute_energy_for_assignment(), and setup().
|
private |
Referenced by assign_last_rotamers_to_pose(), recreate_pose_for_entity(), rot_sets(), select_rotamer_subset(), and setup().
|
private |
Referenced by calculate_background_energies(), score_function(), set_score_function(), and setup().
|
private |
|
private |
Referenced by calculate_background_energies(), set_dlig_nmeg_limit(), set_pose_and_task(), setup(), and task().