|
Rosetta 3.5
|
#include <AdditionalBackgroundNodesInteractionGraph.hh>


Public Types | |
| typedef std::list < BackgroundToFirstClassEdge < V, E, G > * > | BackgroundEdgeList |
| typedef std::list < BackgroundToFirstClassEdge < V, E, G > * >::iterator | BackgroundEdgeListIter |
| typedef std::vector < BackgroundNode< V, E, G > * > | BackgroundNodeVector |
| typedef std::vector < BackgroundToFirstClassEdge < V, E, G > * > | BackgroundEdgeVector |
| typedef std::vector < BackgroundToFirstClassEdge < V, E, G > * >::iterator | BackgroundEdgeVectorIter |
Public Member Functions | |
| virtual | ~FirstClassNode () |
| FirstClassNode destructor. More... | |
| FirstClassNode (G *owner, int node_id, int num_states) | |
| FirstClassNode constructor. More... | |
| BackgroundEdgeListIter | add_background_edge (BackgroundToFirstClassEdge< V, E, G > *edge) |
| Adds a BackgroundToFirstClassEdge to the node's list of such edges and returns an iterator to that list position. More... | |
| void | drop_background_edge (BackgroundEdgeListIter edge) |
| Removes an edge from the node's BackgroundToFirstClassEdge list. More... | |
| 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 | |
| int | get_num_edges_to_background_nodes () const |
| BackgroundToFirstClassEdge< V, E, G > * | get_edge_to_bg_node (int index) const |
| int | get_index_of_adjacent_background_node (int index) const |
| BackgroundNode< V, E, G > * | get_adjacent_background_node (int index) const |
| bool | get_bg_edge_vector_up_to_date_ () const |
| void | update_bg_edge_vector () |
| Syncs the background edge vector with the background edge list. More... | |
Private Member Functions | |
| FirstClassNode () | |
| FirstClassNode (FirstClassNode< V, E, G > const &) | |
| FirstClassNode< V, E, G > & | operator= (FirstClassNode< V, E, G > const &) |
Definition at line 34 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::list< BackgroundToFirstClassEdge< V, E, G >* > core::pack::interaction_graph::FirstClassNode< V, E, G >::BackgroundEdgeList |
Definition at line 61 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::list< BackgroundToFirstClassEdge< V, E, G >* >::iterator core::pack::interaction_graph::FirstClassNode< V, E, G >::BackgroundEdgeListIter |
Definition at line 62 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::vector< BackgroundToFirstClassEdge< V, E, G >* > core::pack::interaction_graph::FirstClassNode< V, E, G >::BackgroundEdgeVector |
Definition at line 65 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::vector< BackgroundToFirstClassEdge< V, E, G >* >::iterator core::pack::interaction_graph::FirstClassNode< V, E, G >::BackgroundEdgeVectorIter |
Definition at line 66 of file AdditionalBackgroundNodesInteractionGraph.hh.
| typedef std::vector< BackgroundNode< V, E, G >* > core::pack::interaction_graph::FirstClassNode< V, E, G >::BackgroundNodeVector |
Definition at line 64 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
virtual |
FirstClassNode destructor.
FirstClassNode::~FirstClassNode
Definition at line 441 of file AdditionalBackgroundNodesInteractionGraph.hh.
| core::pack::interaction_graph::FirstClassNode< V, E, G >::FirstClassNode | ( | G * | owner, |
| int | node_id, | ||
| int | num_states | ||
| ) |
FirstClassNode constructor.
FirstClassNode::FirstClassNode
| owner | - [in] - the owning interaction graph node_id - [in] - the index for this node amongst its owners set num_states - [in] - the number of states for this node |
Definition at line 429 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
private |
|
private |
| std::list< BackgroundToFirstClassEdge< V, E, G > * >::iterator core::pack::interaction_graph::FirstClassNode< V, E, G >::add_background_edge | ( | BackgroundToFirstClassEdge< V, E, G > * | edge_ptr) |
Adds a BackgroundToFirstClassEdge to the node's list of such edges and returns an iterator to that list position.
FirstClassNode::add_background_edge
| edge_ptr | - [in] - a pointer to the BackgroundToFirstClassEdge |
Definition at line 458 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
virtual |
Returns an int representing the amount of memory in bytes used by this node.
FirstClassNode::count_dynamic_memory
| total_memory | - [out] - the amount of memory used by this node |
Reimplemented in core::pack::interaction_graph::HPatchNode< V, E, G >, and core::pack::interaction_graph::SurfaceNode< V, E, G >.
Definition at line 501 of file AdditionalBackgroundNodesInteractionGraph.hh.
| void core::pack::interaction_graph::FirstClassNode< V, E, G >::drop_background_edge | ( | BackgroundEdgeListIter | edge) |
Removes an edge from the node's BackgroundToFirstClassEdge list.
FirstClassNode::drop_background_edge
| edge | - [in] - the iterator to the edge; in order to guarantee constant time edge deletion, each edge keeps iterators to its position in the edge lists of the nodes it's incident upon. It hands these iterators back to the nodes when it wants to delete itself. |
Definition at line 480 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
inlineprotected |
|
inlineprotected |
Definition at line 100 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::FirstClassNode< V, E, G >::bg_edge_vector_up_to_date_.
|
inlineprotected |
Definition at line 82 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::FirstClassNode< V, E, G >::bg_edge_vector_, and core::pack::interaction_graph::FirstClassNode< V, E, G >::bg_edge_vector_up_to_date_.
Referenced by core::pack::interaction_graph::HPatchNode< V, E, G >::get_edge_to_hpatch_bg_node(), and core::pack::interaction_graph::SurfaceNode< V, E, G >::get_edge_to_surface_bg_node().
|
inlineprotected |
|
inlineprotected |
Definition at line 77 of file AdditionalBackgroundNodesInteractionGraph.hh.
References core::pack::interaction_graph::FirstClassNode< V, E, G >::num_edges_to_bg_nodes_.
|
private |
|
protected |
Syncs the background edge vector with the background edge list.
FirstClassNode::update_bg_edge_vector
Definition at line 528 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
private |
Definition at line 110 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::FirstClassNode< V, E, G >::get_index_of_adjacent_background_node().
|
private |
Definition at line 108 of file AdditionalBackgroundNodesInteractionGraph.hh.
|
private |
Definition at line 109 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::FirstClassNode< V, E, G >::get_edge_to_bg_node().
|
private |
Definition at line 112 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::FirstClassNode< V, E, G >::get_adjacent_background_node(), core::pack::interaction_graph::FirstClassNode< V, E, G >::get_bg_edge_vector_up_to_date_(), core::pack::interaction_graph::FirstClassNode< V, E, G >::get_edge_to_bg_node(), and core::pack::interaction_graph::FirstClassNode< V, E, G >::get_index_of_adjacent_background_node().
|
private |
Definition at line 111 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::FirstClassNode< V, E, G >::get_adjacent_background_node().
|
private |
Definition at line 107 of file AdditionalBackgroundNodesInteractionGraph.hh.
Referenced by core::pack::interaction_graph::FirstClassNode< V, E, G >::get_num_edges_to_background_nodes().
1.8.4