Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::pack_daemon::PackDaemon Class Reference

#include <PackDaemon.hh>

Inheritance diagram for protocols::pack_daemon::PackDaemon:
Inheritance graph
[legend]
Collaboration diagram for protocols::pack_daemon::PackDaemon:
Collaboration graph
[legend]

Public Types

typedef core::Real Real
 
typedef core::Size Size
 
typedef core::pose::Pose Pose
 
typedef core::pose::PoseOP PoseOP
 
typedef core::pose::PoseCOP PoseCOP
 
typedef
core::scoring::ScoreFunction 
ScoreFunction
 
typedef
core::scoring::ScoreFunctionOP 
ScoreFunctionOP
 
typedef
core::scoring::ScoreFunctionCOP 
ScoreFunctionCOP
 
typedef
core::pack::task::PackerTask 
PackerTask
 
typedef
core::pack::task::PackerTaskOP 
PackerTaskOP
 
typedef
core::pack::task::PackerTaskCOP 
PackerTaskCOP
 
typedef
core::pack::interaction_graph::InteractionGraphBaseOP 
InteractionGraphBaseOP
 
typedef
core::pack::interaction_graph::InteractionGraphBaseCOP 
InteractionGraphBaseCOP
 
typedef
core::pack::interaction_graph::FixedBBInteractionGraphOP 
FixedBBInteractionGraphOP
 
typedef
core::pack::interaction_graph::FixedBBInteractionGraphCOP 
FixedBBInteractionGraphCOP
 
typedef
core::pack::rotamer_set::RotamerSets 
RotamerSets
 
typedef
core::pack::rotamer_set::RotamerSetsOP 
RotamerSetsOP
 
typedef
core::pack::rotamer_set::RotamerSetsCOP 
RotamerSetsCOP
 
typedef
protocols::genetic_algorithm::Entity 
Entity
 
typedef
protocols::genetic_algorithm::EntityOP 
EntityOP
 
typedef
protocols::genetic_algorithm::EntityElement 
EntityElement
 
typedef
protocols::genetic_algorithm::EntityElements 
EntityElements
 
typedef
protocols::genetic_algorithm::EntityElementOP 
EntityElementOP
 
typedef
protocols::genetic_algorithm::Vec1Hash 
Vec1Hash
 
typedef utility::vector1< intRotamerAssignment
 
typedef std::pair
< RotamerAssignment, Real
RotamerAssignmentAndEnergy
 
typedef
protocols::genetic_algorithm::EntityElementsEqual 
EntElemEq
 
typedef boost::unordered_map
< EntityElements,
RotamerAssignmentAndEnergy,
Vec1Hash, EntElemEq
EntityToRotamerHash
 

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< intselect_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 ()
 

Private Attributes

PoseOP pose_
 
ScoreFunctionOP score_function_
 
PackerTaskOP task_
 
EntityCorrespondenceOP correspondence_
 
bool include_background_energies_
 
Real background_energies_
 
bool setup_complete_
 
FixedBBInteractionGraphOP ig_
 
RotamerSetsOP rot_sets_
 
QuickRepackerOP repacker_
 
bool best_assignment_valid_
 
RotamerAssignmentAndEnergy best_assignment_
 
EntityOP best_entity_
 
RotamerAssignmentAndEnergy last_assignment_
 
EntityOP last_entity_
 
EntityToRotamerHash prev_state_hash_
 

Detailed Description

Definition at line 64 of file PackDaemon.hh.

Member Typedef Documentation

Definition at line 96 of file PackDaemon.hh.

Definition at line 87 of file PackDaemon.hh.

Definition at line 89 of file PackDaemon.hh.

Definition at line 91 of file PackDaemon.hh.

Definition at line 90 of file PackDaemon.hh.

Definition at line 88 of file PackDaemon.hh.

Definition at line 97 of file PackDaemon.hh.

Definition at line 82 of file PackDaemon.hh.

Definition at line 81 of file PackDaemon.hh.

Definition at line 80 of file PackDaemon.hh.

Definition at line 79 of file PackDaemon.hh.

Definition at line 75 of file PackDaemon.hh.

Definition at line 77 of file PackDaemon.hh.

Definition at line 76 of file PackDaemon.hh.

Definition at line 69 of file PackDaemon.hh.

Definition at line 71 of file PackDaemon.hh.

Definition at line 70 of file PackDaemon.hh.

Definition at line 66 of file PackDaemon.hh.

Definition at line 94 of file PackDaemon.hh.

Definition at line 95 of file PackDaemon.hh.

Definition at line 83 of file PackDaemon.hh.

Definition at line 85 of file PackDaemon.hh.

Definition at line 84 of file PackDaemon.hh.

Definition at line 72 of file PackDaemon.hh.

Definition at line 74 of file PackDaemon.hh.

Definition at line 73 of file PackDaemon.hh.

Definition at line 67 of file PackDaemon.hh.

Definition at line 92 of file PackDaemon.hh.

Constructor & Destructor Documentation

protocols::pack_daemon::PackDaemon::PackDaemon ( )

Definition at line 76 of file PackDaemon.cc.

References best_assignment_, and last_assignment_.

protocols::pack_daemon::PackDaemon::~PackDaemon ( )
virtual

Definition at line 86 of file PackDaemon.cc.

Member Function Documentation

void protocols::pack_daemon::PackDaemon::assign_last_rotamers_to_pose ( Pose pose) const

Definition at line 395 of file PackDaemon.cc.

References last_assignment_, core::pose::Pose::replace_residue(), and rot_sets_.

PackDaemon::RotamerAssignmentAndEnergy const & protocols::pack_daemon::PackDaemon::best_assignment ( ) const

Definition at line 365 of file PackDaemon.cc.

References best_assignment_.

void protocols::pack_daemon::PackDaemon::calculate_background_energies ( )
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.

Definition at line 213 of file PackDaemon.cc.

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

Definition at line 360 of file PackDaemon.cc.

References correspondence_.

PackDaemon::FixedBBInteractionGraphCOP protocols::pack_daemon::PackDaemon::ig ( ) const

Definition at line 361 of file PackDaemon.cc.

References ig_.

Referenced by setup().

PackDaemon::RotamerAssignmentAndEnergy const & protocols::pack_daemon::PackDaemon::last_assignment ( ) const

Definition at line 368 of file PackDaemon.cc.

References last_assignment_.

void protocols::pack_daemon::PackDaemon::mark_entity_as_unimportant ( Entity const &  ent)
void protocols::pack_daemon::PackDaemon::mark_last_entity_as_important ( )

Definition at line 339 of file PackDaemon.cc.

References last_assignment_, last_entity_, and prev_state_hash_.

PackDaemon::PoseCOP protocols::pack_daemon::PackDaemon::pose ( ) const

Definition at line 357 of file PackDaemon.cc.

References pose_.

void protocols::pack_daemon::PackDaemon::print_entity_history ( ) const

Definition at line 411 of file PackDaemon.cc.

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

Definition at line 362 of file PackDaemon.cc.

References rot_sets_.

PackDaemon::ScoreFunctionCOP protocols::pack_daemon::PackDaemon::score_function ( ) const

Definition at line 358 of file PackDaemon.cc.

References score_function_.

utility::vector0< int > protocols::pack_daemon::PackDaemon::select_rotamer_subset ( Entity const &  entity) const
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;

Definition at line 123 of file PackDaemon.cc.

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)

Definition at line 130 of file PackDaemon.cc.

References include_background_energies_, and setup_complete_.

void protocols::pack_daemon::PackDaemon::set_pose_and_task ( Pose const &  pose,
PackerTask const &  task 
)
void protocols::pack_daemon::PackDaemon::set_score_function ( ScoreFunction const &  sfxn)

Definition at line 102 of file PackDaemon.cc.

References score_function_, and setup_complete_.

void protocols::pack_daemon::PackDaemon::setup ( )
PackDaemon::PackerTaskCOP protocols::pack_daemon::PackDaemon::task ( ) const

Definition at line 359 of file PackDaemon.cc.

References task_.

Member Data Documentation

Real protocols::pack_daemon::PackDaemon::background_energies_
private

Definition at line 158 of file PackDaemon.hh.

Referenced by calculate_background_energies(), and compute_energy_for_assignment().

RotamerAssignmentAndEnergy protocols::pack_daemon::PackDaemon::best_assignment_
private

Definition at line 175 of file PackDaemon.hh.

Referenced by best_assignment(), compute_energy_for_assignment(), PackDaemon(), and setup().

bool protocols::pack_daemon::PackDaemon::best_assignment_valid_
private

Definition at line 174 of file PackDaemon.hh.

Referenced by compute_energy_for_assignment().

EntityOP protocols::pack_daemon::PackDaemon::best_entity_
private

Definition at line 176 of file PackDaemon.hh.

Referenced by compute_energy_for_assignment().

EntityCorrespondenceOP protocols::pack_daemon::PackDaemon::correspondence_
private
FixedBBInteractionGraphOP protocols::pack_daemon::PackDaemon::ig_
private

Definition at line 162 of file PackDaemon.hh.

Referenced by ig(), and setup().

bool protocols::pack_daemon::PackDaemon::include_background_energies_
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?

Definition at line 157 of file PackDaemon.hh.

Referenced by set_include_background_energies(), and setup().

RotamerAssignmentAndEnergy protocols::pack_daemon::PackDaemon::last_assignment_
private
EntityOP protocols::pack_daemon::PackDaemon::last_entity_
private

Definition at line 178 of file PackDaemon.hh.

Referenced by compute_energy_for_assignment(), and mark_last_entity_as_important().

PoseOP protocols::pack_daemon::PackDaemon::pose_
private
EntityToRotamerHash protocols::pack_daemon::PackDaemon::prev_state_hash_
private
QuickRepackerOP protocols::pack_daemon::PackDaemon::repacker_
private

Definition at line 165 of file PackDaemon.hh.

Referenced by compute_energy_for_assignment(), and setup().

RotamerSetsOP protocols::pack_daemon::PackDaemon::rot_sets_
private
ScoreFunctionOP protocols::pack_daemon::PackDaemon::score_function_
private
bool protocols::pack_daemon::PackDaemon::setup_complete_
private
PackerTaskOP protocols::pack_daemon::PackDaemon::task_
private

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