|
Rosetta 3.5
|
A node which is not changing type or rotamer throughout a simulation. More...
#include <AdditionalBackgroundNodesInteractionGraph.hh>


Public Types | |
| typedef std::list < BackgroundToFirstClassEdge < V, E, G > * >::iterator | BackgroundEdgeListIter |
| typedef std::list < BackgroundToFirstClassEdge < V, E, G > * > | BackgroundEdgeList |
| typedef std::vector < BackgroundToFirstClassEdge < V, E, G > * > | BackgroundEdgeVector |
| typedef std::vector < BackgroundToFirstClassEdge < V, E, G > * >::iterator | BackgroundEdgeVectorIter |
| typedef std::vector < FirstClassNode< V, E, G > * > | FirstClassNodeVector |
Public Member Functions | |
| virtual | ~BackgroundNode () |
| BackgroundNode destructor. More... | |
| BackgroundNode (AdditionalBackgroundNodesInteractionGraph< V, E, G > *owner, int node_index) | |
| BackgroundNode constructor - no default or copy constructors; no operator =. More... | |
| BackgroundEdgeListIter | add_edge (BackgroundToFirstClassEdge< V, E, G > *edge_ptr) |
| Adds a BackgroundToFirstClassEdge to the edge list for this node. Returns an iterator to the new list element. More... | |
| void | drop_edge (BackgroundEdgeListIter edge) |
| removes an edge from the nodes edge list in constant time More... | |
| BackgroundToFirstClassEdge< V, E, G > * | find_edge (int fc_node_index) |
| Linear time edge lookup function. More... | |
| virtual void | prepare_for_simulated_annealing ()=0 |
| virtual void | print () const =0 |
| virtual unsigned int | count_static_memory () const =0 |
| virtual unsigned int | count_dynamic_memory () const |
| Returns an int representing the amount of memory in bytes used by this node. More... | |
Protected Member Functions | |
| void | update_edge_vector () |
| Syncs the edge vector with the edge list. More... | |
| int | get_node_index () const |
| int | get_num_incident_edges () const |
| BackgroundToFirstClassEdge< V, E, G > * | get_incident_edge (int index) const |
| int | get_index_of_adjacent_first_class_node (int index) const |
| FirstClassNode< V, E, G > * | get_adjacent_first_class_node (int index) const |
| bool | get_edge_vector_up_to_date () const |
| AdditionalBackgroundNodesInteractionGraph < V, E, G > * | get_owner () const |
Private Member Functions | |
| BackgroundNode () | |
| BackgroundNode (BackgroundNode< V, E, G > const &) | |
| BackgroundNode< V, E, G > & | operator= (BackgroundNode< V, E, G > const &) |
Private Attributes | |
| int | node_index_ |
| int | num_incident_edges_ |
| BackgroundEdgeList | edge_list_ |
| BackgroundEdgeVector | edge_vector_ |
| std::vector< int > | adjacent_first_class_node_indices_ |
| FirstClassNodeVector | adjacent_nodes_ |
| bool | edge_vector_up_to_date_ |
| AdditionalBackgroundNodesInteractionGraph < V, E, G > * | owner_ |
A node which is not changing type or rotamer throughout a simulation.
Definition at line 36 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::list< BackgroundToFirstClassEdge< V, E, G >* > core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeList |
Definition at line 178 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::list< BackgroundToFirstClassEdge< V, E, G >* >::iterator core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeListIter |
Definition at line 177 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::vector< BackgroundToFirstClassEdge< V, E, G >* > core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeVector |
Definition at line 179 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::vector< BackgroundToFirstClassEdge< V, E, G >* >::iterator core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeVectorIter |
Definition at line 180 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::vector< FirstClassNode< V, E, G >* > core::pack::interaction_graph::BackgroundNode< V, E, G >::FirstClassNodeVector |
Definition at line 181 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
virtual |
BackgroundNode destructor.
BackgroundNode::~BackgroundNode
Definition at line 632 of file AdditionalBackgroundNodesInteractionGraph.hh.
| core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundNode | ( | AdditionalBackgroundNodesInteractionGraph< V, E, G > * | owner, |
| int | node_index | ||
| ) |
BackgroundNode constructor - no default or copy constructors; no operator =.
BackgroundNode::BackgroundNode
| owner | - [in] - the owning graph node_index - [in] - the index of the background node |
Definition at line 618 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
private |
|
private |
| std::list< BackgroundToFirstClassEdge< V, E, G > * >::iterator core::pack::interaction_graph::BackgroundNode< V, E, G >::add_edge | ( | BackgroundToFirstClassEdge< V, E, G > * | edge_ptr) |
Adds a BackgroundToFirstClassEdge to the edge list for this node. Returns an iterator to the new list element.
| edge_ptr | - [in] - pointer to the edge being added |
Definition at line 648 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
virtual |
Returns an int representing the amount of memory in bytes used by this node.
BackgroundNode::count_dynamic_memory
| total_memory | - [out] - the amount of memory used by this node |
Reimplemented in core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >, and core::pack::interaction_graph::SurfaceBackgroundNode< V, E, G >.
Definition at line 745 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
pure virtual |
| void core::pack::interaction_graph::BackgroundNode< V, E, G >::drop_edge | ( | BackgroundEdgeListIter | edge) |
removes an edge from the nodes edge list in constant time
| edge | - [in] - the iterator to the edge's position in node's edge list |
Definition at line 667 of file AdditionalBackgroundNodesInteractionGraph.hh.
| BackgroundToFirstClassEdge< V, E, G > * core::pack::interaction_graph::BackgroundNode< V, E, G >::find_edge | ( | int | fc_node_index) |
Linear time edge lookup function.
| fc_node_index | - [in] - the index of the first class node that is on the other end of the sought edge |
Definition at line 721 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
inlineprotected |
|
inlineprotected |
Definition at line 224 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::edge_vector_up_to_date_.
|
inlineprotected |
Definition at line 206 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::edge_vector_, and core::pack::interaction_graph::BackgroundNode< V, E, G >::edge_vector_up_to_date_.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_hpatch_bg_edge(), and core::pack::interaction_graph::SurfaceBackgroundNode< V, E, G >::get_surface_bg_edge().
|
inlineprotected |
|
inlineprotected |
Definition at line 200 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::node_index_.
Referenced by core::pack::interaction_graph::SurfaceBackgroundNode< V, E, G >::wt_residue_for_node().
|
inlineprotected |
Definition at line 203 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::num_incident_edges_.
|
inlineprotected |
Definition at line 227 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::BackgroundNode< V, E, G >::owner_.
Referenced by core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::get_hpatch_owner(), and core::pack::interaction_graph::SurfaceBackgroundNode< V, E, G >::get_surface_owner().
|
private |
|
pure virtual |
|
pure virtual |
|
protected |
Syncs the edge vector with the edge list.
BackgroundNode::update_edge_vector
Definition at line 687 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
private |
Definition at line 235 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_index_of_adjacent_first_class_node().
|
private |
Definition at line 236 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_adjacent_first_class_node().
|
private |
Definition at line 233 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
private |
Definition at line 234 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_incident_edge().
|
private |
Definition at line 237 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_adjacent_first_class_node(), core::pack::interaction_graph::BackgroundNode< V, E, G >::get_edge_vector_up_to_date(), core::pack::interaction_graph::BackgroundNode< V, E, G >::get_incident_edge(), and core::pack::interaction_graph::BackgroundNode< V, E, G >::get_index_of_adjacent_first_class_node().
|
private |
Definition at line 231 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_node_index().
|
private |
Definition at line 232 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_num_incident_edges().
|
private |
Definition at line 238 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::BackgroundNode< V, E, G >::get_owner().
1.8.4