|
Rosetta 3.5
|
Defines a HPatch Edge which connects two first-class HPatch Nodes. Edges have to keep some state so that updates to SASA and the hpatch score can be done fast. More...
#include <HPatchInteractionGraph.hh>


Public Types | |
| typedef FirstClassEdge< V, E, G > | parent |
Public Member Functions | |
| HPatchEdge (G *owner, int node1, int node2) | |
| main constructor. No default, or copy constructors, no assignment operator More... | |
| virtual | ~HPatchEdge () |
| virtual void | prepare_for_simulated_annealing () |
| 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... | |
| void | acknowledge_state_zeroed (int node_index) |
| respond to when one of its vertices enters the "unassigned" state. More... | |
| Real | update_state_at_neighbor (int node_considering_substitution, int alt_state, RotamerDots &alt_state_dots) |
| returns the change in sasa for the neighbor of a node that is produced by the state substitution it is considering. More... | |
| void | acknowledge_substitution () |
| bookkeeping following the decision to substitute a nodes current state with the alternate it was asked to consider. More... | |
| utility::vector1 < utility::vector1< bool > > const & | get_current_state_atom_atom_overlaps () const |
| Returns a const reference to the atom-x-atom-pair vector-of-vectors of bools that specifies which atoms are overlapping, assuming the current state assignment. More... | |
| utility::vector1 < utility::vector1< bool > > const & | get_alt_state_atom_atom_overlaps () const |
| Returns a const reference to the atom-x-atom-pair vector-of-vectors of bools that specifies which atoms are overlapping, assuming the alternate state assignment. More... | |
| virtual void | declare_energies_final () |
| 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 |
| virtual unsigned int | count_static_memory () const |
| virtual unsigned int | count_dynamic_memory () const |
| Real | get_current_two_body_energy () const |
Public Member Functions inherited from core::pack::interaction_graph::FirstClassEdge< V, E, G > | |
| virtual | ~FirstClassEdge () |
| FirstClassEdge destructor. More... | |
| FirstClassEdge (G *owner, int first_node_ind, int second_node_ind) | |
| FirstClassEdge constructor. More... | |
Protected Member Functions | |
| HPatchNode< V, E, G > * | get_hpatch_node (int index) |
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... | |
| HPatchEdge () | |
| HPatchEdge (HPatchEdge< V, E, G > const &) | |
| HPatchEdge< V, E, G > & | operator= (HPatchEdge< V, E, G > const &) |
Private Attributes | |
| int | node_changing_ |
| int | node_not_changing_ |
| int | nodes_curr_states_ [2] |
| int | nodes_alt_states_ [2] |
| RotamerDotsCache | nodes_curr_pair_dot_counts_ [2] |
| RotamerDotsCache | nodes_alt_pair_dot_counts_ [2] |
| utility::vector1 < utility::vector1< bool > > | current_state_atom_atom_overlaps_ |
| utility::vector1 < utility::vector1< bool > > | alt_state_atom_atom_overlaps_ |
| utility::vector1< std::pair < Size, Size > > | curr_state_exolap_hphobes_ |
| pairs of hphobes that have exposed overlap More... | |
| utility::vector1< std::pair < Size, Size > > | alt_state_exolap_hphobes_ |
Defines a HPatch Edge which connects two first-class HPatch Nodes. Edges have to keep some state so that updates to SASA and the hpatch score can be done fast.
Definition at line 95 of file HPatchInteractionGraph.hh.
| typedef FirstClassEdge< V, E, G > core::pack::interaction_graph::HPatchEdge< V, E, G >::parent |
Definition at line 416 of file HPatchInteractionGraph.hh.
| core::pack::interaction_graph::HPatchEdge< V, E, G >::HPatchEdge | ( | 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 HPatchNode node2 - [in] - the index of the higher-indexed HPatchNode |
Definition at line 2272 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::HPatchEdge< V, E, G >::nodes_alt_states_, and core::pack::interaction_graph::HPatchEdge< V, E, G >::nodes_curr_states_.
|
virtual |
Definition at line 2291 of file HPatchInteractionGraph.hh.
|
private |
|
private |
| void core::pack::interaction_graph::HPatchEdge< V, E, G >::acknowledge_state_zeroed | ( | int | node_that_changed) |
respond to when one of its vertices enters the "unassigned" state.
HPatchEdge::acknowledge_state_zeroed
Definition at line 2334 of file HPatchInteractionGraph.hh.
| void core::pack::interaction_graph::HPatchEdge< V, E, G >::acknowledge_substitution | ( | ) |
bookkeeping following the decision to substitute a nodes current state with the alternate it was asked to consider.
HPatchEdge::acknowledge_substitution
Definition at line 2481 of file HPatchInteractionGraph.hh.
References core::io::serialization::size().
|
virtual |
HPatchEdge::count_dynamic_memory
Reimplemented from core::pack::interaction_graph::FirstClassEdge< V, E, G >.
Definition at line 2615 of file HPatchInteractionGraph.hh.
References core::io::serialization::size().
|
virtual |
HPatchEdge::count_static_memory
Definition at line 2607 of file HPatchInteractionGraph.hh.
|
virtual |
Reduces memory usage in the two body energy table after the energy calculating function declares that the energies will not change thereafter.
HPatchEdge::declare_energies_final
A HPatchEdge 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 HPatchEdge 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.
Definition at line 2586 of file HPatchInteractionGraph.hh.
| utility::vector1< utility::vector1< bool > > const & core::pack::interaction_graph::HPatchEdge< V, E, G >::get_alt_state_atom_atom_overlaps | ( | ) | const |
Returns a const reference to the atom-x-atom-pair vector-of-vectors of bools that specifies which atoms are overlapping, assuming the alternate state assignment.
HPatchEdge< V, E, G >::get_alt_state_atom_atom_overlaps
Definition at line 2564 of file HPatchInteractionGraph.hh.
| utility::vector1< utility::vector1< bool > > const & core::pack::interaction_graph::HPatchEdge< V, E, G >::get_current_state_atom_atom_overlaps | ( | ) | const |
Returns a const reference to the atom-x-atom-pair vector-of-vectors of bools that specifies which atoms are overlapping, assuming the current state assignment.
HPatchEdge< V, E, G >::get_current_state_atom_atom_overlaps
Definition at line 2550 of file HPatchInteractionGraph.hh.
| Real core::pack::interaction_graph::HPatchEdge< V, E, G >::get_current_two_body_energy | ( | ) | const |
|
inlineprotected |
Definition at line 448 of file HPatchInteractionGraph.hh.
|
virtual |
HPatchEdge::getMemoryUsageInBytes
Definition at line 2598 of file HPatchInteractionGraph.hh.
|
inlineprivate |
tells the node that isn't considering a substitution or changing state that its neighbor who is has changed.
HPatchEdge::inform_non_changing_node_of_neighbors_change
Definition at line 2367 of file HPatchInteractionGraph.hh.
|
private |
|
virtual |
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.
HPatchEdge::prepare_for_simulated_annealing
Definition at line 2304 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::TR_EDGE().
| Real core::pack::interaction_graph::HPatchEdge< V, E, G >::update_state_at_neighbor | ( | int | node_considering_substitution, |
| int | alt_state, | ||
| RotamerDots & | changing_node_alt_state_dots | ||
| ) |
returns the change in sasa for the neighbor of a node that is produced by the state substitution it is considering.
HPatchEdge::update_state_at_neighbor
See more comments inline.
| changing_node_alt_state_dots | - [in] - the RotamerDots object for the alternate state at the changing Node |
Definition at line 2391 of file HPatchInteractionGraph.hh.
References core::pack::interaction_graph::RotamerDots::get_num_atoms(), and core::io::serialization::size().
|
private |
Definition at line 470 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 474 of file HPatchInteractionGraph.hh.
|
private |
pairs of hphobes that have exposed overlap
Definition at line 473 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 469 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 461 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 462 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 467 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 464 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchEdge< V, E, G >::HPatchEdge().
|
private |
Definition at line 466 of file HPatchInteractionGraph.hh.
|
private |
Definition at line 463 of file HPatchInteractionGraph.hh.
Referenced by core::pack::interaction_graph::HPatchEdge< V, E, G >::HPatchEdge().
1.8.4