![]() |
Rosetta
2021.16
|
Defines a NPDHBond Edge which connects two first-class NPDHBond Nodes. Edges have to keep some state so that updates to SASA and the hpatch score can be done fast. More...
#include <NPDHBondInteractionGraph.hh>

Public Types | |
| typedef FirstClassEdge< V, E, G > | parent |
Public Member Functions | |
| NPDHBondEdge (G *owner, int node1, int node2) | |
| main constructor. No default, or copy constructors, no assignment operator More... | |
| ~NPDHBondEdge () override | |
| void | prepare_for_simulated_annealing () override |
| drops zero submatrices of the AminoAcidNeighborSparseMatrix and if the two_body_energies_ member then holds nothing, More... | |
| void | acknowledge_state_zeroed (int node_index, Size node_seqpos) |
| respond to when one of its vertices enters the "unassigned" state. More... | |
| void | acknowledge_substitution (bool update_hbonds) |
| bookkeeping following the decision to substitute a nodes current state with the alternate it was asked to consider. More... | |
| void | declare_energies_final () override |
| Reduces memory usage in the two body energy table after the energy calculating function declares that the energies will not change thereafter. More... | |
| virtual unsigned int | getMemoryUsageInBytes () const |
| unsigned int | count_static_memory () const override |
| unsigned int | count_dynamic_memory () const override |
| void | consider_alternate_state_step1 (int node_index, int state_index, conformation::Residue const &alt_state, utility::vector1< NPDHBondOP > &res_hbonds, utility::vector1< utility::vector1< NPDHBondOP > > &atom_hbonds, utility::vector1< char > &hbonding_to_res) |
| Real | consider_alternate_state_step2 (utility::vector1< char > const &hbonding_to_res) |
Public Member Functions inherited from core::pack::interaction_graph::FirstClassEdge< V, E, G > | |
| ~FirstClassEdge () override | |
| FirstClassEdge destructor. More... | |
| FirstClassEdge (G *owner, int first_node_ind, int second_node_ind) | |
| FirstClassEdge constructor. More... | |
| unsigned int | count_dynamic_memory () const override |
Protected Member Functions | |
| NPDHBondNode< V, E, G > const * | get_npd_hbond_node (int index) const |
| NPDHBondNode< V, E, G > * | get_npd_hbond_node (int index) |
| NPDHBondInteractionGraph< V, E, G > const * | get_npd_hbond_owner () const |
| NPDHBondInteractionGraph< V, E, G > * | get_npd_hbond_owner () |
Private Member Functions | |
| void | inform_non_changing_node_of_neighbors_change () |
| NPDHBondEdge () | |
| NPDHBondEdge (NPDHBondEdge< V, E, G > const &) | |
| NPDHBondEdge< V, E, G > & | operator= (NPDHBondEdge< V, E, G > const &) |
Private Attributes | |
| int | node_changing_ |
| int | node_not_changing_ |
| int | nodes_curr_states_ [2] |
| int | nodes_alt_states_ [2] |
Defines a NPDHBond Edge which connects two first-class NPDHBond Nodes. Edges have to keep some state so that updates to SASA and the hpatch score can be done fast.
| typedef FirstClassEdge< V, E, G > core::pack::interaction_graph::NPDHBondEdge< V, E, G >::parent |
| core::pack::interaction_graph::NPDHBondEdge< V, E, G >::NPDHBondEdge | ( | G * | owner, |
| int | node1, | ||
| int | node2 | ||
| ) |
main constructor. No default, or copy constructors, no assignment operator
| owner | - [in] - the owning interaction graph object node1 - [in] - the index of the lower-indexed NPDHBondNode node2 - [in] - the index of the higher-indexed NPDHBondNode |
References core::pack::interaction_graph::NPDHBondEdge< V, E, G >::nodes_alt_states_, and core::pack::interaction_graph::NPDHBondEdge< V, E, G >::nodes_curr_states_.
|
override |
|
private |
|
private |
| void core::pack::interaction_graph::NPDHBondEdge< V, E, G >::acknowledge_state_zeroed | ( | int | node_that_changed, |
| Size | node_seqpos | ||
| ) |
respond to when one of its vertices enters the "unassigned" state.
called during the NPDHBIG::blanket_assign_state_0 -> NPDHBondNode::assign_zero_state() cascade of calls.
| void core::pack::interaction_graph::NPDHBondEdge< V, E, G >::acknowledge_substitution | ( | bool | update_hbonds | ) |
bookkeeping following the decision to substitute a nodes current state with the alternate it was asked to consider.
| void core::pack::interaction_graph::NPDHBondEdge< V, E, G >::consider_alternate_state_step1 | ( | int | node_index, |
| int | state_index, | ||
| conformation::Residue const & | alt_state, | ||
| utility::vector1< NPDHBondOP > & | res_hbonds, | ||
| utility::vector1< utility::vector1< NPDHBondOP > > & | atom_hbonds, | ||
| utility::vector1< char > & | hbonding_to_res | ||
| ) |
References core::pack::interaction_graph::NPDHBondNode< V, E, G >::alternate_hbs(), core::pack::interaction_graph::NPDHBondNode< V, E, G >::alternate_hbs_for_atoms(), core::pack::interaction_graph::create_hbonds_one_way(), core::pack::interaction_graph::NPDHBondInteractionGraph< V, E, G >::hbond_database(), core::pack::interaction_graph::NPDHBondInteractionGraph< V, E, G >::hbond_options(), core::pack::interaction_graph::NPDHBondInteractionGraph< V, E, G >::npd_hbond_set(), and core::conformation::Residue::seqpos().
| Real core::pack::interaction_graph::NPDHBondEdge< V, E, G >::consider_alternate_state_step2 | ( | utility::vector1< char > const & | hbonding_to_res | ) |
|
override |
|
override |
|
override |
Reduces memory usage in the two body energy table after the energy calculating function declares that the energies will not change thereafter.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
private |
|
private |
|
override |
drops zero submatrices of the AminoAcidNeighborSparseMatrix and if the two_body_energies_ member then holds nothing,
|
private |
|
private |
|
private |
|
private |
1.8.7