Rosetta 3.4
|
Defines an edge between a FirstClass (HPatchNode) and a background node (HPatchBackgroundNode) More...
#include <HPatchInteractionGraph.hh>
Public Types | |
typedef BackgroundToFirstClassEdge< V, E, G > | parent |
Public Member Functions | |
HPatchBackgroundEdge (AdditionalBackgroundNodesInteractionGraph< V, E, G > *owner, int first_class_node_index, int background_node_index) | |
main constructor | |
virtual | ~HPatchBackgroundEdge () |
void | prepare_for_simulated_annealing () |
Invoked by AdditionalBackgroundNodesInteractionGraph::prepare_for_simulated_annealing. | |
void | initialize_overlap_cache (RotamerDots const &bg_residue) |
compute the sphere overlaps of the background node with every state on the first class node. The HPatchBackgroundEdge hands its stl vector of RotamerDotsCache objects (node_states_coverage_of_bg_res) to the HPatchNode | |
void | acknowledge_state_change (int new_state) |
bookkeeping in response to a HPatchNode switching states (without having gone through the usual consider-substitution/commit-substitution pattern). | |
Real | update_state_at_neighbor (int alt_state) |
returns the change in hpatch energy produced by a background node in response to a considered state substitution of the first class node | |
void | acknowledge_substitution () |
bookkeeping in response to the HPatchNode committing the considered substitution | |
utility::vector1 < utility::vector1< bool > > const & | get_atom_atom_overlaps_for_state (Size state) 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. | |
virtual unsigned int | count_static_memory () const |
virtual unsigned int | count_dynamic_memory () const |
Protected Member Functions | |
HPatchNode< V, E, G > * | get_hpatch_node () const |
HPatchBackgroundNode< V, E, G > * | get_hpatch_bg_node () const |
Defines an edge between a FirstClass (HPatchNode) and a background node (HPatchBackgroundNode)
typedef BackgroundToFirstClassEdge< V, E, G > core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::parent |
core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::HPatchBackgroundEdge | ( | AdditionalBackgroundNodesInteractionGraph< V, E, G > * | owner, |
int | first_class_node_index, | ||
int | background_node_index | ||
) |
main constructor
core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::~HPatchBackgroundEdge | ( | ) | [virtual] |
void core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::acknowledge_state_change | ( | int | new_state | ) |
bookkeeping in response to a HPatchNode switching states (without having gone through the usual consider-substitution/commit-substitution pattern).
HPatchBackgroundEdge::acknowledge_state_change
void core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::acknowledge_substitution | ( | ) |
bookkeeping in response to the HPatchNode committing the considered substitution
unsigned int core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::count_dynamic_memory | ( | ) | const [virtual] |
unsigned int core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::count_static_memory | ( | ) | const [virtual] |
utility::vector1< utility::vector1< bool > > const & core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::get_atom_atom_overlaps_for_state | ( | Size | state | ) | 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.
HPatchBackgroundEdge< V, E, G >::get_atom_atom_self_overlaps_for_state
HPatchBackgroundNode< V, E, G >* core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::get_hpatch_bg_node | ( | ) | const [inline, protected] |
HPatchNode< V, E, G >* core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::get_hpatch_node | ( | ) | const [inline, protected] |
void core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::initialize_overlap_cache | ( | RotamerDots const & | bg_residue_dots | ) |
compute the sphere overlaps of the background node with every state on the first class node. The HPatchBackgroundEdge hands its stl vector of RotamerDotsCache objects (node_states_coverage_of_bg_res) to the HPatchNode
HPatchBackgroundEdge::initialize_overlap_cache
Called during the prep for simA method in HPatchBGNodes. This method in turn calls a HPatchNode method, init_overlap_with_background to set the vector of RDC object pointers.
References core::pack::interaction_graph::RotamerDots::get_num_atoms().
void core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::prepare_for_simulated_annealing | ( | ) | [virtual] |
Invoked by AdditionalBackgroundNodesInteractionGraph::prepare_for_simulated_annealing.
HPatchBackgroundEdge::prepare_for_simulated_annealing
Implements core::pack::interaction_graph::BackgroundToFirstClassEdge< V, E, G >.
Real core::pack::interaction_graph::HPatchBackgroundEdge< V, E, G >::update_state_at_neighbor | ( | int | alt_state | ) |
returns the change in hpatch energy produced by a background node in response to a considered state substitution of the first class node