![]() |
Rosetta Core
2014.16.56682
|
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.
| typedef std::list< BackgroundToFirstClassEdge< V, E, G >* > core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeList |
| typedef std::list< BackgroundToFirstClassEdge< V, E, G >* >::iterator core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeListIter |
| typedef std::vector< BackgroundToFirstClassEdge< V, E, G >* > core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeVector |
| typedef std::vector< BackgroundToFirstClassEdge< V, E, G >* >::iterator core::pack::interaction_graph::BackgroundNode< V, E, G >::BackgroundEdgeVectorIter |
| typedef std::vector< FirstClassNode< V, E, G >* > core::pack::interaction_graph::BackgroundNode< V, E, G >::FirstClassNodeVector |
|
virtual |
BackgroundNode destructor.
| 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 |
|
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 |
|
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 >.
|
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 |
| 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 |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
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 |
|
inlineprotected |
|
inlineprotected |
|
private |
|
pure virtual |
|
pure virtual |
|
protected |
Syncs the edge vector with the edge list.
BackgroundNode::update_edge_vector
|
private |
|
private |
|
private |
|
private |
|
private |
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 |
|
private |
|
private |
1.8.7