![]() |
Rosetta Protocols
2014.35
|
#include <OTFFlexbbInteractionGraph.hh>
Public Member Functions | |
OTFFlexbbInteractionGraph (int num_nodes) | |
GRAPH. More... | |
virtual | ~OTFFlexbbInteractionGraph () |
virtual void | initialize (core::pack::rotamer_set::RotamerSetsBase const &) |
void | set_ProCorrection_values_for_edge (int node1, int node2, 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_for_edge (int node1, int node2, 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 unsigned int | count_dynamic_memory () const |
virtual void | set_pose (Pose const &pose) |
Pose must be set before any edges are added to the graph. More... | |
virtual void | set_scorefxn (ScoreFunction const &sfxn) |
Score function must be set before any edges are added to the graph. More... | |
PoseCOP | get_pose () const |
Edges request the pose and the score function at the time of their creation. More... | |
ScoreFunctionCOP | get_scorefxn () const |
void | note_long_range_interactions_exist_for_edge (int node1, int node2) |
Informs the edge connecting nodes 1 and 2 that they require long range interactions. Note – the edge must already exist. More... | |
void | debug_note_considered_substitution (core::conformation::Residue const &alt_rotamer, int index) |
void | debug_note_projected_deltaE_of_considered_substitution (PackerEnergy deltaE, PackerEnergy node_alt_total, bool require_match=true) |
void | debug_note_accepted_substitution () |
void | debug_note_rejected_substitution () |
![]() | |
virtual | ~FlexbbInteractionGraph () |
GRAPH. More... | |
FlexbbInteractionGraph (int num_nodes) | |
int | get_num_aa_types () const |
utility::vector1< Size > const & | flexseg_members (int flexseg) const |
int | get_flexseg_for_bb (int bb) const |
int | get_flexseg_bb_offset (int flexseg_id) const |
bool | nodes_from_same_flexseg (int node1, int node2) const |
int | get_num_states_per_backbone_for_node (int node, int bb) const |
int | get_bb_for_state (int node, int state) const |
virtual void | consider_backbone_move (int bb_id, core::PackerEnergy &delta_energy, core::PackerEnergy &prev_flexseg_energy, bool &valid_motion, int &num_nodes_changing_state)=0 |
virtual void | consider_bbmove_w_state_substitution (int node_ind, int new_state, core::PackerEnergy &delta_energy, core::PackerEnergy &prev_energy_for_flexseg, bool &valid_motion, int &num_nodes_changing_state)=0 |
virtual PackerEnergy | commit_considered_backbone_move (ObjexxFCL::FArray1_int &rotamer_on_node)=0 |
void | get_accessible_states (Subsitution move_mode, utility::vector1< Size > &rotlist) const |
void | get_backbone_list (utility::vector1< Size > &bblist) const |
bool | get_backbone_currently_assigned (int bbid) const |
Is the backbone conformation (in the global enumertion of backbone conformations) already assigned to the network? False if any residue on the flexible segment that this bbid corresponds to is assigned state 0. More... | |
bool | get_enforce_bb_contiguity () const |
FlexbbNodes will ask: am I allowed to have a state that breaks the backbone? There are brief periods when the backbone is "broken" as the graph assigns new states to nodes on the same flexible segment. More... | |
void | increment_count_nodes_in_flexseg () |
Owner keeps a count of the number of nodes undergoing a simultaneous rotamer substitution as the backbone moves. More... | |
typedef FlexbbInteractionGraph protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::parent |
typedef core::pose::PoseCOP protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::PoseCOP |
typedef core::pose::PoseOP protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::PoseOP |
typedef core::scoring::ScoreFunction protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::ScoreFunction |
typedef core::scoring::ScoreFunctionCOP protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::ScoreFunctionCOP |
typedef core::scoring::ScoreFunctionOP protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::ScoreFunctionOP |
protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::OTFFlexbbInteractionGraph | ( | int | num_nodes | ) |
GRAPH.
|
virtual |
|
inlineprotected |
|
inlineprotected |
|
virtual |
Reimplemented from protocols::flexpack::interaction_graph::FlexbbInteractionGraph.
Reimplemented in protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph.
References protocols::flexpack::interaction_graph::FlexbbInteractionGraph::count_dynamic_memory().
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::count_dynamic_memory().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::debug_note_accepted_substitution | ( | ) |
References alt_rot_inds_, alt_rots_, alternate_pose_energy_, changing_seqpos_, current_pose_energy_, and utility_exit_with_message.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::commit_considered_backbone_move(), protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::commit_considered_substitution(), and protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::set_network_state().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::debug_note_considered_substitution | ( | core::conformation::Residue const & | alt_rotamer, |
int | index | ||
) |
References alt_rot_inds_, alt_rots_, alternate_pose_, changing_seqpos_, core::conformation::Residue::clone(), core::pose::Pose::replace_residue(), core::conformation::Residue::seqpos(), and utility_exit_with_message.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbNode::partially_assign_state(), protocols::flexpack::interaction_graph::MinimalistFlexbbNode::prepare_for_altbb_move_to_state(), and protocols::flexpack::interaction_graph::MinimalistFlexbbNode::project_deltaE_for_substitution().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::debug_note_projected_deltaE_of_considered_substitution | ( | PackerEnergy | deltaE, |
PackerEnergy | node_alt_total, | ||
bool | require_match = true |
||
) |
References protocols::flexpack::interaction_graph::FlexbbEdge::alt_energy(), alt_rot_inds_, alternate_pose_, alternate_pose_energy_, protocols::flexpack::interaction_graph::FlexbbNode::alternate_state_one_body_energy(), changing_seqpos_, current_pose_, current_pose_energy_, dot(), core::pose::Pose::dump_pdb(), core::graph::Node::edge_list_begin(), core::graph::Node::edge_list_end(), find_otfflexbb_edge(), core::pack::rotamer_set::RotamerSets::get_bb_bbE(), core::graph::Edge::get_node(), get_otfflexbb_node(), core::pack::rotamer_set::RotamerSets::get_sc_bbE(), oc_sfxn_, protocols::flexpack::interaction_graph::OTFFlexbbEdge::print_alt_energies(), resid_2_moltenres_, utility::to_string(), and utility_exit_with_message.
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::complete_deltaE_prediction_for_bbmove(), protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::consider_substitution(), and protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::set_network_state().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::debug_note_rejected_substitution | ( | ) |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Downcasts.
Referenced by debug_note_projected_deltaE_of_considered_substitution(), and initialize().
|
inlineprotected |
OTFFlexbbInteractionGraph::PoseCOP protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::get_pose | ( | ) | const |
Edges request the pose and the score function at the time of their creation.
References pose_.
OTFFlexbbInteractionGraph::ScoreFunctionCOP protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::get_scorefxn | ( | ) | const |
References sfxn_.
|
virtual |
Reimplemented from protocols::flexpack::interaction_graph::FlexbbInteractionGraph.
Reimplemented in protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph.
References protocols::flexpack::interaction_graph::OTFFlexbbNode::declare_all_rotamers_initialized(), get_otfflexbb_node(), protocols::flexpack::interaction_graph::FlexbbInteractionGraph::initialize(), moltenres_2_resid_, resid_2_moltenres_, and protocols::flexpack::interaction_graph::OTFFlexbbNode::set_rotamer().
Referenced by protocols::flexpack::interaction_graph::MinimalistFlexbbInteractionGraph::initialize().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::note_long_range_interactions_exist_for_edge | ( | int | node1, |
int | node2 | ||
) |
Informs the edge connecting nodes 1 and 2 that they require long range interactions. Note – the edge must already exist.
References find_otfflexbb_edge(), and protocols::flexpack::interaction_graph::OTFFlexbbEdge::note_long_range_interactions_exist().
Referenced by protocols::flexpack::rotamer_set::FlexbbRotamerSets::compute_one_body_energies_for_otf_ig().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::set_GlyCorrection_values_for_edge | ( | int | node1, |
int | node2, | ||
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 |
Pose must be set before any edges are added to the graph.
References alternate_pose_, current_pose_, moltenres_2_resid_, pose_, resid_2_moltenres_, and core::pose::Pose::total_residue().
void protocols::flexpack::interaction_graph::OTFFlexbbInteractionGraph::set_ProCorrection_values_for_edge | ( | int | node1, |
int | node2, | ||
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 | ||
) |
|
virtual |
Score function must be set before any edges are added to the graph.
References core::scoring::ScoreFunction::clone(), n_score_types, oc_sfxn_, pose_, and sfxn_.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
For debugging purposes.
Referenced by debug_note_projected_deltaE_of_considered_substitution(), and set_pose().
|
private |
|
private |
Referenced by initialize(), and set_pose().
|
private |
Referenced by debug_note_projected_deltaE_of_considered_substitution(), and set_scorefxn().
|
private |
Referenced by get_pose(), set_pose(), and set_scorefxn().
|
private |
Referenced by debug_note_projected_deltaE_of_considered_substitution(), initialize(), and set_pose().
|
private |
Referenced by get_scorefxn(), and set_scorefxn().