|
Rosetta 3.5
|
Defines a Background Node which will contribute to changes in SASA/hpatchE due to state changes on neighboring nodes, and not because of state changes to it. No default constructor makes this class uncopyable. More...
#include <HPatchInteractionGraph.hh>


Public Types | |
| typedef BackgroundNode< V, E, G > | parent |
Public Types inherited from core::pack::interaction_graph::BackgroundNode< V, E, G > | |
| typedef std::list < BackgroundToFirstClassEdge < V, E, G > * >::iterator | BackgroundEdgeListIter |
| typedef std::list < BackgroundToFirstClassEdge < V, E, G > * > | BackgroundEdgeList |
| typedef std::vector < BackgroundToFirstClassEdge < V, E, G > * > | BackgroundEdgeVector |
| typedef std::vector < BackgroundToFirstClassEdge < V, E, G > * >::iterator | BackgroundEdgeVectorIter |
| typedef std::vector < FirstClassNode< V, E, G > * > | FirstClassNodeVector |
Public Member Functions | |
| HPatchBackgroundNode (AdditionalBackgroundNodesInteractionGraph< V, E, G > *owner, int node_index) | |
| main constructor. No default constructor, copy constructor or assignment operator More... | |
| virtual | ~HPatchBackgroundNode () |
| void | set_rotamer (conformation::ResidueOP const &rotamer) |
| inits the RotamerOP held by a background node. called in the HPatchIG::initialize method. More... | |
| conformation::ResidueCOP | get_rotamer () const |
| returns a const reference to the ResidueOP object held by this background Node. needed by the initialize_bg_bg_overlap call in this class so that one BGNode can get at the residue/rotamer information on another BGNode instance. More... | |
| void | set_rotamer_dots (RotamerDots const &bg_rd) |
| inits the RotamerDots object held by a background node. called in the HPatchIG::initialize method. More... | |
| bool | detect_overlap (HPatchNode< V, E, G > *node) const |
| returns true if this background residue overlaps with any atom on any rotamer of a HPatchNode. More... | |
| virtual void | prepare_for_simulated_annealing () |
| detects self overlap and asks its incident HPatchBackgroundEdges to compute and cache the overlaps of this residue with all states on the neighboring HPatchNode. More... | |
| void | initialize_bg_bg_overlap (HPatchBackgroundNode< V, E, G > &other) |
| stores the sphere overlap for a pair of background nodes More... | |
| Real | update_state_for_substitution (HPatchNode< V, E, G > *fc_node_changing, RotamerDotsCache const &nodes_curr_overlap_with_bg_res, RotamerDotsCache const &nodes_alt_overlap_with_bg_res) |
| returns the change in sasa induced by a HPatchNode undergoing a state substitution. The overlap between the HPatchNode and this HPatchBackgroundNode has been precomputed and stored in the HPatchBackgroundEdge that connects them. There is little work to do in this subroutine. More... | |
| void | reset_alt_state_dots () |
| Sets the alt state dots to the current state dots. See comments in HIG and commit_considered_substitution for more information about why this method exists. More... | |
| void | acknowledge_substitution () |
| bookkeeping to reflect a HPatchNode's state substitution. uses the RotamerDots class method operator=. More... | |
| Real | get_current_sasa () const |
| returns the total SASA under the current state assignment More... | |
| Real | get_current_sasa (Size atom_index) const |
| Returns the current state SASA for the passed in atom index. More... | |
| Real | get_alternate_sasa () const |
| returns the total SASA under the alternate state assignment More... | |
| Real | get_alternate_sasa (Size atom_index) const |
| Returns the alternate state SASA for the passed in atom index. More... | |
| utility::vector1 < utility::vector1< bool > > const & | get_atom_atom_self_overlaps () const |
| Returns a const reference to the atom x atom pair vector of vectors of bools that specifies which atoms are overlapping. More... | |
| utility::vector1< Size > const & | get_hphobes () const |
| Size | n_hphobes () const |
| virtual unsigned int | count_static_memory () const |
| virtual unsigned int | count_dynamic_memory () const |
| virtual void | print () const |
| used only for debugging More... | |
| RotamerDots const & | get_current_state_rotamer_dots () |
| Returns current state. Only used by the unit tests. More... | |
| RotamerDots const & | get_alt_state_rotamer_dots () |
| Returns current state. Only used by the unit tests. More... | |
| InvRotamerDots const & | curr_state_inv_dots () const |
| InvRotamerDots const & | alt_state_inv_dots () const |
| utility::vector1< Size > const & | curr_state_exp_hphobes () const |
| utility::vector1< Size > const & | alt_state_exp_hphobes () const |
| Size | n_curr_state_exp_hphobes () const |
| Size | n_alt_state_exp_hphobes () const |
Public Member Functions inherited from core::pack::interaction_graph::BackgroundNode< V, E, G > | |
| virtual | ~BackgroundNode () |
| BackgroundNode destructor. More... | |
| BackgroundNode (AdditionalBackgroundNodesInteractionGraph< V, E, G > *owner, int node_index) | |
| BackgroundNode constructor - no default or copy constructors; no operator =. More... | |
| BackgroundEdgeListIter | add_edge (BackgroundToFirstClassEdge< V, E, G > *edge_ptr) |
| Adds a BackgroundToFirstClassEdge to the edge list for this node. Returns an iterator to the new list element. More... | |
| void | drop_edge (BackgroundEdgeListIter edge) |
| removes an edge from the nodes edge list in constant time More... | |
| BackgroundToFirstClassEdge< V, E, G > * | find_edge (int fc_node_index) |
| Linear time edge lookup function. More... | |
Protected Member Functions | |
| HPatchBackgroundEdge< V, E, G > * | get_hpatch_bg_edge (int index) |
| HPatchInteractionGraph< V, E, G > * | get_hpatch_owner () const |
Protected Member Functions inherited from core::pack::interaction_graph::BackgroundNode< V, E, G > | |
| void | update_edge_vector () |
| Syncs the edge vector with the edge list. More... | |
| int | get_node_index () const |
| int | get_num_incident_edges () const |
| BackgroundToFirstClassEdge< V, E, G > * | get_incident_edge (int index) const |
| int | get_index_of_adjacent_first_class_node (int index) const |
| FirstClassNode< V, E, G > * | get_adjacent_first_class_node (int index) const |
| bool | get_edge_vector_up_to_date () const |
| AdditionalBackgroundNodesInteractionGraph < V, E, G > * | get_owner () const |
Private Member Functions | |
| void | update_alt_state_exphphobes () |
| Updates the vector alt_state_exp_hphobes_ with the atom id (??) of the exposed hydrophobic atoms in this residue. More... | |
| void | initialize_self_overlap () |
| initializes the self overlap for its RotamerDots object More... | |
| void | initialize_atom_atom_overlaps () |
| initializes the atom-atom overlap vector stored by this background node. called once during prep_for_simA. More... | |
| HPatchBackgroundNode () | |
| HPatchBackgroundNode (HPatchBackgroundNode< V, E, G > const &) | |
| HPatchBackgroundNode< V, E, G > & | operator= (HPatchBackgroundNode< V, E, G > const &) |
Defines a Background Node which will contribute to changes in SASA/hpatchE due to state changes on neighboring nodes, and not because of state changes to it. No default constructor makes this class uncopyable.
Definition at line 94 of file HPatchInteractionGraph.hh.
| typedef BackgroundNode< V, E, G > core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::parent |
Definition at line 300 of file HPatchInteractionGraph.hh.
| core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::HPatchBackgroundNode | ( | AdditionalBackgroundNodesInteractionGraph< V, E, G > * | owner, |
| int | node_index | ||
| ) |
main constructor. No default constructor, copy constructor or assignment operator
HPatchBackgroundNode::HPatchBackgroundNode
Definition at line 1785 of file HPatchInteractionGraph.hh.
|
virtual |
HPatchBackgroundNode::~HPatchBackgroundNode
Definition at line 1798 of file HPatchInteractionGraph.hh.
|
private |
|
private |
| void core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::acknowledge_substitution | ( | ) |
bookkeeping to reflect a HPatchNode's state substitution. uses the RotamerDots class method operator=.
HPatchBackgroundNode::acknowledge_substitution
Definition at line 2124 of file HPatchInteractionGraph.hh.
|
inline |
Definition at line 354 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_exp_hphobes_.
|
inline |
Definition at line 348 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_inv_dots_, core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_rotamer_dots_, core::pack::interaction_graph::RotamerDots::rotamer(), and core::pack::interaction_graph::InvRotamerDots::rotamer().
|
virtual |
HPatchBackgroundNode::count_dynamic_memory
Reimplemented from core::pack::interaction_graph::BackgroundNode< V, E, G >.
Definition at line 2225 of file HPatchInteractionGraph.hh.
|
virtual |
HPatchBackgroundNode::count_static_memory
Implements core::pack::interaction_graph::BackgroundNode< V, E, G >.
Definition at line 2217 of file HPatchInteractionGraph.hh.
|
inline |
Definition at line 353 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::curr_state_exp_hphobes_.
|
inline |
Definition at line 343 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_rotamer_dots_, core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::curr_state_inv_dots_, core::pack::interaction_graph::RotamerDots::rotamer(), and core::pack::interaction_graph::InvRotamerDots::rotamer().
| bool core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::detect_overlap | ( | HPatchNode< V, E, G > * | node) | const |
returns true if this background residue overlaps with any atom on any rotamer of a HPatchNode.
HPatchBackgroundNode::detect_overlap
Definition at line 1872 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchNode< V, E, G >::detect_any_overlap_with_rotamer().
| RotamerDots const & core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_alt_state_rotamer_dots | ( | ) |
Returns current state. Only used by the unit tests.
HPatchBackgroundNode::get_alt_state_rotamer_dots
Definition at line 4985 of file HPatchInteractionGraph.hh.
| Real core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_alternate_sasa | ( | ) | const |
returns the total SASA under the alternate state assignment
HPatchBackgroundNode< V, E, G >::get_alternate_sasa
Definition at line 2183 of file HPatchInteractionGraph.hh.
| Real core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_alternate_sasa | ( | Size | atom_index) | const |
Returns the alternate state SASA for the passed in atom index.
HPatchBackgroundNode< V, E, G >::get_alternate_sasa
Definition at line 2196 of file HPatchInteractionGraph.hh.
| utility::vector1< utility::vector1< bool > > const & core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_atom_atom_self_overlaps | ( | ) | const |
Returns a const reference to the atom x atom pair vector of vectors of bools that specifies which atoms are overlapping.
HPatchBackgroundNode< V, E, G >::get_atom_atom_self_overlaps
Definition at line 2208 of file HPatchInteractionGraph.hh.
| Real core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_current_sasa | ( | ) | const |
returns the total SASA under the current state assignment
HPatchBackgroundNode< V, E, G >::get_current_sasa
Definition at line 2157 of file HPatchInteractionGraph.hh.
| Real core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_current_sasa | ( | Size | atom_index) | const |
Returns the current state SASA for the passed in atom index.
HPatchBackgroundNode< V, E, G >::get_current_sasa
Definition at line 2170 of file HPatchInteractionGraph.hh.
| RotamerDots const & core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_current_state_rotamer_dots | ( | ) |
Returns current state. Only used by the unit tests.
HPatchBackgroundNode::get_current_state_rotamer_dots
Definition at line 4976 of file HPatchInteractionGraph.hh.
|
inlineprotected |
Definition at line 361 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::get_incident_edge().
|
inlineprotected |
Definition at line 366 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::get_owner().
|
inline |
Definition at line 330 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::hphobe_ats_.
| conformation::ResidueCOP core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_rotamer | ( | ) | const |
returns a const reference to the ResidueOP object held by this background Node. needed by the initialize_bg_bg_overlap call in this class so that one BGNode can get at the residue/rotamer information on another BGNode instance.
HPatchBackgroundNode::get_rotamer
Definition at line 1843 of file HPatchInteractionGraph.hh.
|
private |
initializes the atom-atom overlap vector stored by this background node. called once during prep_for_simA.
HPatchBackgroundNode::initialize_atom_atom_overlaps
Definition at line 1950 of file HPatchInteractionGraph.hh.
References core::kinematics::tree::distance_squared(), and core::scoring::get_overlap().
| void core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::initialize_bg_bg_overlap | ( | HPatchBackgroundNode< V, E, G > & | other) |
stores the sphere overlap for a pair of background nodes
HPatchBackgroundNode::initialize_bg_bg_overlap
Definition at line 2020 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::current_state_rotamer_dots_.
|
private |
initializes the self overlap for its RotamerDots object
HPatchBackgroundNode::initialize_self_overlap
Definition at line 1922 of file HPatchInteractionGraph.hh.
|
inline |
Definition at line 357 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_exp_hphobes_.
|
inline |
Definition at line 356 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::curr_state_exp_hphobes_.
|
inline |
Definition at line 331 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::n_hphobes_.
|
private |
|
virtual |
detects self overlap and asks its incident HPatchBackgroundEdges to compute and cache the overlaps of this residue with all states on the neighboring HPatchNode.
HPatchBackgroundNode::prepare_for_simulated_annealing
Implements core::pack::interaction_graph::BackgroundNode< V, E, G >.
Definition at line 1889 of file HPatchInteractionGraph.hh.
|
virtual |
used only for debugging
HPatchBackgroundNode::print HPatchBackgroundNode::print
used only for debugging
Implements core::pack::interaction_graph::BackgroundNode< V, E, G >.
Definition at line 2248 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::TR_BGNODE().
| void core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::reset_alt_state_dots | ( | ) |
Sets the alt state dots to the current state dots. See comments in HIG and commit_considered_substitution for more information about why this method exists.
HPatchBackgroundNode::reset_alt_state_dots
Definition at line 2101 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::TR_BGNODE().
| void core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::set_rotamer | ( | conformation::ResidueOP const & | rotamer) |
inits the RotamerOP held by a background node. called in the HPatchIG::initialize method.
HPatchBackgroundNode::set_rotamer
Definition at line 1810 of file HPatchInteractionGraph.hh.
References core::chemical::ResidueType::atom_type(), core::chemical::AtomType::element(), and core::chemical::ResidueType::nheavyatoms().
| void core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::set_rotamer_dots | ( | RotamerDots const & | bg_rd) |
inits the RotamerDots object held by a background node. called in the HPatchIG::initialize method.
HPatchBackgroundNode::set_rotamer_dots
Definition at line 1855 of file HPatchInteractionGraph.hh.
|
private |
Updates the vector alt_state_exp_hphobes_ with the atom id (??) of the exposed hydrophobic atoms in this residue.
HPatchBackgroundNode::update_alt_state_exphphobes
Definition at line 2139 of file HPatchInteractionGraph.hh.
| Real core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::update_state_for_substitution | ( | HPatchNode< V, E, G > * | fc_node_changing, |
| RotamerDotsCache const & | nodes_curr_overlap_with_bg_res, | ||
| RotamerDotsCache const & | nodes_alt_overlap_with_bg_res | ||
| ) |
returns the change in sasa induced by a HPatchNode undergoing a state substitution. The overlap between the HPatchNode and this HPatchBackgroundNode has been precomputed and stored in the HPatchBackgroundEdge that connects them. There is little work to do in this subroutine.
HPatchBackgroundNode::update_state_for_substitution
Definition at line 2042 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::TR_BGNODE(), and core::pack::interaction_graph::HPatchNode< V, E, G >::wt_seqpos_for_node().
|
private |
Definition at line 390 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 388 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_exp_hphobes(), and core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::n_alt_state_exp_hphobes().
|
private |
Definition at line 385 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_inv_dots().
|
private |
Definition at line 382 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::alt_state_inv_dots(), and core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::curr_state_inv_dots().
|
private |
|
private |
Definition at line 384 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::curr_state_inv_dots().
|
private |
Definition at line 381 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::initialize_bg_bg_overlap().
|
private |
Definition at line 376 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_hphobes().
|
private |
Definition at line 377 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::n_hphobes().
|
private |
Definition at line 379 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 375 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 392 of file HPatchInteractionGraph.hh.
1.8.4