![]() |
Rosetta Protocols
2014.16.56682
|
#include <OTFFlexbbInteractionGraph.hh>
Public Types | |
| typedef FlexbbEdge | parent |
| typedef core::conformation::Residue | Residue |
| typedef ObjexxFCL::FArray2D < PackerEnergy > | FArray2D_PackerEnergy |
Public Types inherited from protocols::flexpack::interaction_graph::FlexbbEdge | |
| typedef core::pack::interaction_graph::EdgeBase | parent |
| typedef core::PackerEnergy | PackerEnergy |
| typedef core::Real | Real |
| typedef core::Size | Size |
Public Member Functions | |
| OTFFlexbbEdge (OTFFlexbbInteractionGraph *owner, int node1, int node2) | |
| EDGE. More... | |
| virtual | ~OTFFlexbbEdge () |
| PackerEnergy | compute_samebbconf_alternate_state_energy_first_node () |
| PackerEnergy | compute_samebbconf_alternate_state_energy_second_node () |
| PackerEnergy | compute_altbbconf_alternate_state_energy () |
| void | otfedge_note_substitution_accepted () |
| virtual unsigned int | count_dynamic_memory () const |
| void | set_ProCorrection_values (int node_not_necessarily_proline, int state, int other_bb, PackerEnergy bb_nonprobb_E, PackerEnergy bb_probb_E, PackerEnergy sc_nonprobb_E, PackerEnergy sc_probb_E) |
| void | set_GlyCorrection_values (int node_not_necessarily_glycine, int state, int other_bb, PackerEnergy bb_nonglybb_E, PackerEnergy bb_glybb_E, PackerEnergy sc_nonglybb_E, PackerEnergy sc_glybb_E) |
| virtual void | prepare_for_simulated_annealing () |
| void | note_long_range_interactions_exist () |
| void | print_alt_energies () const |
Public Member Functions inherited from protocols::flexpack::interaction_graph::FlexbbEdge | |
| 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... | |
| PackerEnergy | cur_energy () const |
| PackerEnergy | alt_energy () const |
Public Member Functions inherited from core::pack::interaction_graph::EdgeBase | |
| virtual void | declare_energies_final ()=0 |
| virtual unsigned int | count_static_memory () const =0 |
| virtual void | set_edge_weight (Real weight)=0 |
Private Member Functions | |
| bool | state_is_proline (int which_node, int state) const |
| bool | state_is_glycine (int which_node, int state) const |
| int | compact_bbindex (int index) const |
Private Attributes | |
| bool | compute_bbbb_and_scbb_otf_ |
| PackerEnergy | all_vs_bb_energy_curr_conf_ [2] |
| PackerEnergy | procorr_curr_conf_ [2] |
| PackerEnergy | glycorr_curr_conf_ [2] |
| PackerEnergy | scsc_energy_curr_conf_ |
| PackerEnergy | all_vs_bb_energy_alt_conf_ [2] |
| PackerEnergy | procorr_alt_conf_ [2] |
| PackerEnergy | glycorr_alt_conf_ [2] |
| PackerEnergy | scsc_energy_alt_conf_ |
| FArray2D_PackerEnergy | all_vs_bb_energies_ [2] |
| FArray2D_PackerEnergy | procorr_energies_ [2] |
| Farray indexed ( state_this, compact bb_other ) More... | |
| FArray2D_PackerEnergy | glycorr_energies_ [2] |
| Farray indexed ( state_this, compact bb_other ) More... | |
| ObjexxFCL::FArray4D< unsigned char > | sr_aa_neighbors_ |
| bool | lr_energies_exist_ |
| core::pose::PoseCOP | pose_ |
| core::scoring::ScoreFunctionCOP | sfxn_ |
| typedef ObjexxFCL::FArray2D< PackerEnergy > protocols::flexpack::interaction_graph::OTFFlexbbEdge::FArray2D_PackerEnergy |
| protocols::flexpack::interaction_graph::OTFFlexbbEdge::OTFFlexbbEdge | ( | OTFFlexbbInteractionGraph * | owner, |
| int | node1, | ||
| int | node2 | ||
| ) |
EDGE.
References all_vs_bb_energies_, all_vs_bb_energy_alt_conf_, all_vs_bb_energy_curr_conf_, get_otfflexbbig_owner(), glycorr_alt_conf_, glycorr_curr_conf_, glycorr_energies_, protocols::flexpack::interaction_graph::FlexbbEdge::nodes_part_of_same_flexseg(), protocols::flexpack::interaction_graph::FlexbbEdge::num_bb(), procorr_alt_conf_, procorr_curr_conf_, procorr_energies_, scsc_energy_alt_conf_, scsc_energy_curr_conf_, and sr_aa_neighbors_.
|
virtual |
|
inlineprotected |
References get_otfflexbb_node(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_state(), and protocols::flexpack::interaction_graph::OTFFlexbbNode::rotamer().
Referenced by compute_altbbconf_alternate_state_energy(), compute_samebbconf_alternate_state_energy_first_node(), and compute_samebbconf_alternate_state_energy_second_node().
|
inlineprivate |
References protocols::flexpack::interaction_graph::FlexbbEdge::nodes_part_of_same_flexseg().
Referenced by compute_altbbconf_alternate_state_energy(), compute_samebbconf_alternate_state_energy_first_node(), compute_samebbconf_alternate_state_energy_second_node(), prepare_for_simulated_annealing(), set_GlyCorrection_values(), and set_ProCorrection_values().
| OTFFlexbbEdge::PackerEnergy protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_altbbconf_alternate_state_energy | ( | ) |
Prerequisit: alternate state(s) must have already been set.
References core::conformation::Residue::aa(), all_vs_bb_energies_, all_vs_bb_energy_alt_conf_, all_vs_bb_energy_curr_conf_, protocols::flexpack::interaction_graph::FlexbbEdge::alt_energy(), alt_rot(), compact_bbindex(), core::pack::interaction_graph::SparseMatrixIndex::get_aa_type(), protocols::flexpack::interaction_graph::FlexbbSparseMatrixIndex::get_bb(), protocols::flexpack::interaction_graph::FlexbbEdge::get_flexbb_node(), glycorr_alt_conf_, glycorr_curr_conf_, glycorr_energies_, lr_energies_exist_, protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_info(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_state(), pose_, procorr_alt_conf_, procorr_curr_conf_, procorr_energies_, scsc_energy_alt_conf_, scsc_energy_curr_conf_, protocols::flexpack::interaction_graph::FlexbbEdge::set_alt_energy(), sfxn_, sr_aa_neighbors_, state_is_glycine(), and state_is_proline().
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::get_alt_stateE().
| OTFFlexbbEdge::PackerEnergy protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_first_node | ( | ) |
compute sc/sc energy while node 0 (first node) is considering a fixed-backbone state substitution. Prerequisit: alternate state must have already been set.
References core::conformation::Residue::aa(), all_vs_bb_energies_, all_vs_bb_energy_alt_conf_, all_vs_bb_energy_curr_conf_, protocols::flexpack::interaction_graph::FlexbbEdge::alt_energy(), alt_rot(), compact_bbindex(), core::pack::interaction_graph::SparseMatrixIndex::get_aa_type(), protocols::flexpack::interaction_graph::FlexbbSparseMatrixIndex::get_bb(), protocols::flexpack::interaction_graph::FlexbbEdge::get_flexbb_node(), glycorr_alt_conf_, glycorr_curr_conf_, glycorr_energies_, lr_energies_exist_, protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_info(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_state(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_cur_info(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_cur_state(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_part_of_same_flexseg(), pose_, procorr_alt_conf_, procorr_curr_conf_, procorr_energies_, scsc_energy_alt_conf_, scsc_energy_curr_conf_, protocols::flexpack::interaction_graph::FlexbbEdge::set_alt_energy(), sfxn_, sr_aa_neighbors_, state_is_glycine(), state_is_proline(), numeric::xyzVector< class >::x(), core::conformation::Residue::xyz(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
| OTFFlexbbEdge::PackerEnergy protocols::flexpack::interaction_graph::OTFFlexbbEdge::compute_samebbconf_alternate_state_energy_second_node | ( | ) |
Prerequisit: alternate state must have already been set.
References core::conformation::Residue::aa(), all_vs_bb_energies_, all_vs_bb_energy_alt_conf_, all_vs_bb_energy_curr_conf_, protocols::flexpack::interaction_graph::FlexbbEdge::alt_energy(), alt_rot(), compact_bbindex(), core::pack::interaction_graph::SparseMatrixIndex::get_aa_type(), protocols::flexpack::interaction_graph::FlexbbSparseMatrixIndex::get_bb(), protocols::flexpack::interaction_graph::FlexbbEdge::get_flexbb_node(), glycorr_alt_conf_, glycorr_curr_conf_, glycorr_energies_, lr_energies_exist_, protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_info(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_alt_state(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_cur_info(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_cur_state(), protocols::flexpack::interaction_graph::FlexbbEdge::nodes_part_of_same_flexseg(), pose_, procorr_alt_conf_, procorr_curr_conf_, procorr_energies_, scsc_energy_alt_conf_, scsc_energy_curr_conf_, protocols::flexpack::interaction_graph::FlexbbEdge::set_alt_energy(), sfxn_, sr_aa_neighbors_, state_is_glycine(), state_is_proline(), numeric::xyzVector< class >::x(), core::conformation::Residue::xyz(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
|
virtual |
Reimplemented from protocols::flexpack::interaction_graph::FlexbbEdge.
Reimplemented in protocols::flexpack::interaction_graph::MinimalistFlexbbEdge.
References all_vs_bb_energies_, protocols::flexpack::interaction_graph::FlexbbEdge::count_dynamic_memory(), glycorr_energies_, procorr_energies_, sr_aa_neighbors_, and protocols::analysis::total.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::count_dynamic_memory().
|
inlineprotected |
Downcasts.
Referenced by alt_rot(), prepare_for_simulated_annealing(), state_is_glycine(), and state_is_proline().
|
inlineprotected |
|
inlineprotected |
Referenced by OTFFlexbbEdge().
|
inlineprotected |
| void protocols::flexpack::interaction_graph::OTFFlexbbEdge::note_long_range_interactions_exist | ( | ) |
| void protocols::flexpack::interaction_graph::OTFFlexbbEdge::otfedge_note_substitution_accepted | ( | ) |
References all_vs_bb_energy_alt_conf_, all_vs_bb_energy_curr_conf_, glycorr_alt_conf_, glycorr_curr_conf_, procorr_alt_conf_, procorr_curr_conf_, scsc_energy_alt_conf_, and scsc_energy_curr_conf_.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::acknowledge_substitution().
|
virtual |
Implements core::pack::interaction_graph::EdgeBase.
Reimplemented in protocols::flexpack::interaction_graph::MinimalistFlexbbEdge.
References protocols::flexpack::interaction_graph::OTFFlexbbNode::bounding_radius_for_rotamers(), compact_bbindex(), numeric::xyzVector< class >::distance_squared(), protocols::flexpack::interaction_graph::FlexbbEdge::get_nodes_from_same_flexseg(), get_otfflexbb_node(), core::conformation::Residue::nbr_atom(), protocols::flexpack::interaction_graph::FlexbbEdge::num_bb(), protocols::flexpack::interaction_graph::OTFFlexbbNode::rotamer(), sfxn_, sr_aa_neighbors_, protocols::flexpack::interaction_graph::FlexbbNode::state_offsets_for_aa_for_bb(), and core::conformation::Residue::xyz().
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbEdge::prepare_for_simulated_annealing().
| void protocols::flexpack::interaction_graph::OTFFlexbbEdge::print_alt_energies | ( | ) | const |
References all_vs_bb_energy_alt_conf_, all_vs_bb_energy_curr_conf_, glycorr_alt_conf_, glycorr_curr_conf_, procorr_alt_conf_, procorr_curr_conf_, scsc_energy_alt_conf_, and scsc_energy_curr_conf_.
Referenced by protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::debug_note_projected_deltaE_of_considered_substitution().
| void protocols::flexpack::interaction_graph::OTFFlexbbEdge::set_GlyCorrection_values | ( | int | node_not_necessarily_glycine, |
| int | state, | ||
| int | other_bb, | ||
| PackerEnergy | bb_nonglybb_E, | ||
| PackerEnergy | bb_glybb_E, | ||
| PackerEnergy | sc_nonglybb_E, | ||
| PackerEnergy | sc_glybb_E | ||
| ) |
| void protocols::flexpack::interaction_graph::OTFFlexbbEdge::set_ProCorrection_values | ( | int | node_not_necessarily_proline, |
| int | state, | ||
| int | other_bb, | ||
| PackerEnergy | bb_nonprobb_E, | ||
| PackerEnergy | bb_probb_E, | ||
| PackerEnergy | sc_nonprobb_E, | ||
| PackerEnergy | sc_probb_E | ||
| ) |
|
protected |
|
private |
|
private |
|
private |
|
private |
If this flag is "true" then the two tables below are not allocated, and instead sc/bb and bb/bb energies are calculated alongside sc/sc energies in the OTF calculations. Slower, but uses less memory.
|
private |
|
private |
|
private |
Farray indexed ( state_this, compact bb_other )
Referenced by compute_altbbconf_alternate_state_energy(), compute_samebbconf_alternate_state_energy_first_node(), compute_samebbconf_alternate_state_energy_second_node(), count_dynamic_memory(), OTFFlexbbEdge(), and set_GlyCorrection_values().
|
private |
|
private |
|
private |
|
private |
|
private |
Farray indexed ( state_this, compact bb_other )
Referenced by compute_altbbconf_alternate_state_energy(), compute_samebbconf_alternate_state_energy_first_node(), compute_samebbconf_alternate_state_energy_second_node(), count_dynamic_memory(), OTFFlexbbEdge(), and set_ProCorrection_values().
|
private |
|
private |
|
private |
|
private |
1.8.7