![]() |
Rosetta Protocols
2014.35
|
#include <FlexbbInteractionGraph.hh>
Public Types | |
typedef core::pack::interaction_graph::EdgeBase | parent |
typedef core::PackerEnergy | PackerEnergy |
typedef core::Real | Real |
typedef core::Size | Size |
Public Member Functions | |
FlexbbEdge (FlexbbInteractionGraph *owner, int first_node_ind, int second_node_ind) | |
virtual | ~FlexbbEdge () |
bool | get_nodes_from_same_flexseg () const |
void | set_alt_state (int node_index, int new_state, FlexbbSparseMatrixIndex const &state_info) |
Called by FlexbbNode in prepare_for_bb_jump: Edges must know the alternate states that nodes are considering. Precondition: alt_state_ for a fixed node must match its cur_state_. More... | |
void | acknowledge_partial_state_assignment (int node_index, int new_state, FlexbbSparseMatrixIndex const &state_info) |
void | note_state_substitution_accepted () |
Copy alt data to current data after a state substitution. More... | |
void | reset_alternate_states_for_uncommited_substitution () |
After a rejected state substitution, the FlexbbNode will call this function to reset the alt_state data to establish the invariant that the alternate state held on the flexbb edges reflect the the current state of those nodes not considering a state substitution. More... | |
virtual unsigned int | count_dynamic_memory () const |
PackerEnergy | cur_energy () const |
PackerEnergy | alt_energy () const |
![]() | |
virtual void | declare_energies_final ()=0 |
virtual void | prepare_for_simulated_annealing ()=0 |
virtual unsigned int | count_static_memory () const =0 |
virtual void | set_edge_weight (Real weight)=0 |
Private Member Functions | |
FlexbbEdge () | |
FlexbbEdge (FlexbbEdge const &) | |
typedef core::pack::interaction_graph::EdgeBase protocols::flexpack::interaction_graph::FlexbbEdge::parent |
protocols::flexpack::interaction_graph::FlexbbEdge::FlexbbEdge | ( | FlexbbInteractionGraph * | owner, |
int | first_node_ind, | ||
int | second_node_ind | ||
) |
|
virtual |
|
private |
|
private |
void protocols::flexpack::interaction_graph::FlexbbEdge::acknowledge_partial_state_assignment | ( | int | node_index, |
int | new_state, | ||
FlexbbSparseMatrixIndex const & | state_info | ||
) |
|
inlineprotected |
References alt_e_up_to_date_.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::get_alt_stateE().
|
inline |
References alt_e_up_to_date_, and alt_energy_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_altbbconf_alternate_state_energy(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node(), protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::debug_note_projected_deltaE_of_considered_substitution(), and protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::get_alt_stateE().
|
protected |
|
virtual |
Reimplemented from core::pack::interaction_graph::EdgeBase.
Reimplemented in protocols::flexpack::interaction_graph::MinimalistFlexbbEdge, and protocols::flexpack::interaction_graph::OTFFlexbbEdge.
References core::pack::interaction_graph::EdgeBase::count_dynamic_memory().
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::count_dynamic_memory().
|
inline |
References cur_energy_.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::acknowledge_substitution(), protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::get_energy_sum_for_vertex_group(), and protocols::flexpack::interaction_graph::FlexbbInteractionGraph::update_internal_energy_totals().
|
inlineprotected |
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_altbbconf_alternate_state_energy(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node(), and FlexbbEdge().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
References nodes_alt_info_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_altbbconf_alternate_state_energy(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), and protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node().
|
inlineprotected |
References nodes_alt_state_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::alt_rot(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_altbbconf_alternate_state_energy(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), and protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node().
|
inlineprotected |
References nodes_considering_bb_move_.
|
inlineprotected |
|
inlineprotected |
References nodes_cur_state_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node(), and protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::set_edge_weight().
|
inlineprotected |
References nodes_part_of_same_flexseg_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::compact_bbindex(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node(), and protocols::flexpack::interaction_graph::OTFFlexbbEdge::OTFFlexbbEdge().
void protocols::flexpack::interaction_graph::FlexbbEdge::note_state_substitution_accepted | ( | ) |
Copy alt data to current data after a state substitution.
References alt_energy_, cur_energy_, nodes_alt_info_, nodes_alt_state_, nodes_considering_bb_move_, nodes_cur_info_, and nodes_cur_state_.
Referenced by protocols::flexpack::interaction_graph::FlexbbNode::have_edges_copy_alternate_to_current(), and protocols::flexpack::interaction_graph::FlexbbNode::have_edges_copy_alternate_to_current_following_flexbb_accept().
void protocols::flexpack::interaction_graph::FlexbbEdge::reset_alternate_states_for_uncommited_substitution | ( | ) |
After a rejected state substitution, the FlexbbNode will call this function to reset the alt_state data to establish the invariant that the alternate state held on the flexbb edges reflect the the current state of those nodes not considering a state substitution.
References alt_e_up_to_date_, alt_energy_, cur_energy_, nodes_alt_info_, nodes_alt_state_, nodes_considering_bb_move_, nodes_cur_info_, and nodes_cur_state_.
Referenced by protocols::flexpack::interaction_graph::FlexbbNode::inform_edges_considered_fixedbb_substition_uncommitted(), and protocols::flexpack::interaction_graph::MinimalistFlexbbNode::resolve_uncommitted_substitution().
|
inlineprotected |
References alt_e_up_to_date_, and alt_energy_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_altbbconf_alternate_state_energy(), protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node(), and protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node().
void protocols::flexpack::interaction_graph::FlexbbEdge::set_alt_state | ( | int | node_index, |
int | alternate_state, | ||
FlexbbSparseMatrixIndex const & | alt_state_info | ||
) |
Called by FlexbbNode in prepare_for_bb_jump: Edges must know the alternate states that nodes are considering. Precondition: alt_state_ for a fixed node must match its cur_state_.
during backbone-moving rotamer substitutions, the nodes on flexible segments must inform their edges of their new states.
References alt_e_up_to_date_, protocols::flexpack::interaction_graph::FlexbbSparseMatrixIndex::get_bb(), nodes_alt_info_, nodes_alt_state_, nodes_considering_bb_move_, nodes_cur_info_, nodes_cur_state_, and nodes_part_of_same_flexseg_.
Referenced by protocols::flexpack::interaction_graph::FlexbbNode::inform_edges_of_alt_state_before_bbjump(), and protocols::flexpack::interaction_graph::MinimalistFlexbbNode::project_deltaE_for_substitution().
|
inlineprotected |
References cur_energy_.
|
protected |
References alt_e_up_to_date_, alt_energy_, cur_energy_, nodes_alt_info_, nodes_alt_state_, nodes_considering_bb_move_, nodes_cur_info_, and nodes_cur_state_.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::acknowledge_state_zeroed(), and protocols::flexpack::interaction_graph::OTFFlexbbEdge::zero_state_on_node().
|
inlineprotected |
References nodes_alt_info_.
|
inlineprotected |
Set the altnernate state being considered for a node; node == 0 || 1.
References nodes_alt_state_.
|
inlineprotected |
References nodes_considering_bb_move_.
|
inlineprotected |
References nodes_cur_info_.
|
inlineprotected |
Set the currently assigned state for a node; node == 0 || 1.
References nodes_cur_state_.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by FlexbbEdge(), and num_bb().
|
private |
Referenced by get_nodes_from_same_flexseg(), nodes_part_of_same_flexseg(), and set_alt_state().