![]() |
Rosetta
2021.16
|
Defines a Surface edge which will be used in determining surface energy. More...
#include <SurfaceInteractionGraph.hh>

Public Types | |
| typedef FirstClassEdge< V, E, G > | parent |
Public Member Functions | |
| SurfaceEdge (G *owner, int node1, int node2) | |
| main constructor. No default, or copy constructors, no assignment operator More... | |
| ~SurfaceEdge () override | |
| void | acknowledge_state_zeroed_surface (int node_index) |
| respond to when one of its vertices enters the "unassigned" state More... | |
| Real | get_surface_deltaE_for_neighbor (int node_considering_substitution, int alt_state) |
| returns the change in surface score for the neighbor of a node that is produced by the state substitution it is considering. More... | |
| Real | get_current_two_body_energy () const |
| void | acknowledge_substitution_surface () |
| 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... | |
| void | prepare_for_simulated_annealing () override |
| drops zero submatrices of the AminoAcidNeighborSparseMatrix and if the two_body_energies_ member then holds nothing, it checks whether or not its incident nodes have any sphere overlaps. If they don't then the edge deletes itself. More... | |
| virtual unsigned int | getMemoryUsageInBytes () const |
| Real | get_max_surface_deltaE_guess (int node_changing) const |
| unsigned int | count_static_memory () const override |
| unsigned int | count_dynamic_memory () const override |
| void | set_max_surface_deltaE () |
| SurfaceNode< V, E, G > * | get_surface_node (int index) |
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 |
Private Member Functions | |
| void | inform_non_changing_node_of_neighbors_change () |
| tells the node that isn't considering a substitution or changing state that its neighbor who is has changed. More... | |
| void | track_max_magnitude_surface_deltaE () |
| Keeps track of the maximum surface deltaE seen in the last 50 commits. More... | |
| SurfaceEdge () | |
| SurfaceEdge (SurfaceEdge< V, E, G > const &) | |
| SurfaceEdge< V, E, G > & | operator= (SurfaceEdge< V, E, G > const &) |
Private Attributes | |
| int | node_changing_ |
| int | node_not_changing_ |
| int | nodes_curr_states_ [2] |
| int | nodes_alt_states_ [2] |
| Real | max_surface_deltaE_last_50_commits_ [2] |
| Real | max_surface_deltaE_recent_50_commits_ [2] |
| Real | magnitude_last_surface_deltaE_ [2] |
| int | num_surface_deltaE_observations_since_update_ [2] |
Defines a Surface edge which will be used in determining surface energy.
| typedef FirstClassEdge< V, E, G > core::pack::interaction_graph::SurfaceEdge< V, E, G >::parent |
| core::pack::interaction_graph::SurfaceEdge< V, E, G >::SurfaceEdge | ( | 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 SurfaceNode node2 - [in] - the index of the higher-indexed SurfaceNode |
References core::pack::interaction_graph::SurfaceEdge< V, E, G >::magnitude_last_surface_deltaE_, core::pack::interaction_graph::SurfaceEdge< V, E, G >::max_surface_deltaE_last_50_commits_, core::pack::interaction_graph::SurfaceEdge< V, E, G >::max_surface_deltaE_recent_50_commits_, core::pack::interaction_graph::SurfaceEdge< V, E, G >::nodes_alt_states_, core::pack::interaction_graph::SurfaceEdge< V, E, G >::nodes_curr_states_, and core::pack::interaction_graph::SurfaceEdge< V, E, G >::num_surface_deltaE_observations_since_update_.
|
override |
|
private |
|
private |
| void core::pack::interaction_graph::SurfaceEdge< V, E, G >::acknowledge_state_zeroed_surface | ( | int | node_that_changed | ) |
respond to when one of its vertices enters the "unassigned" state
| node_that_changed | - [in] - the index of the node that changed |
| void core::pack::interaction_graph::SurfaceEdge< V, E, G >::acknowledge_substitution_surface | ( | ) |
bookkeeping following the decision to substitute a nodes current state with the alternate it was asked to consider.
|
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.
A SASAEdge should not delete itself if the pair energies are all zero since the Minkowski sum of a water and a van der Waal's sphere extends further out from an atoms center than its (lj_atr, lj_rep, lksolv) interaction sphere. However, if a SASAEdge holds no pair energies, it's a very good candidate for removal – it just first needs to check that no (vdw + 1.4 A) spheres overlap between any pair of rotamers on the edges it connects.
| Real core::pack::interaction_graph::SurfaceEdge< V, E, G >::get_current_two_body_energy | ( | ) | const |
| Real core::pack::interaction_graph::SurfaceEdge< V, E, G >::get_max_surface_deltaE_guess | ( | int | node_changing | ) | const |
| Real core::pack::interaction_graph::SurfaceEdge< V, E, G >::get_surface_deltaE_for_neighbor | ( | int | node_considering_substitution, |
| int | alt_state | ||
| ) |
returns the change in surface score for the neighbor of a node that is produced by the state substitution it is considering.
Need to tell the node that's not changing which node is considering the change and what the alternate state it might change to is. Then that node can recompute it's change in se hp nb count and return a change in score.
|
inline |
|
virtual |
|
inlineprivate |
tells the node that isn't considering a substitution or changing state that its neighbor who is has changed.
|
private |
|
override |
drops zero submatrices of the AminoAcidNeighborSparseMatrix and if the two_body_energies_ member then holds nothing, it checks whether or not its incident nodes have any sphere overlaps. If they don't then the edge deletes itself.
|
inline |
|
private |
Keeps track of the maximum surface deltaE seen in the last 50 commits.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.7