![]() |
Rosetta
2021.16
|
#include <TenANeighborGraph.hh>

Public Types | |
| typedef utility::graph::Node | parent |
Public Member Functions | |
| ~TenANeighborNode () override | |
| TenANeighborNode (utility::graph::Graph *, Size node_id) | |
| void | copy_from (Node const *source) override |
| Size | count_static_memory () const override |
| Size | count_dynamic_memory () const override |
| void | neighbor_mass (Real mass) |
| set the neighbor mass for a vertex More... | |
| Real | neighbor_mass () const |
| return the neighbor mass for a vertex More... | |
| Real | sum_of_neighbors_masses () const |
| void | add_neighbors_mass (Real neighbors_mass) |
| To be called by TenANeighborEdge only called at the time of edge addition. More... | |
| void | subtract_neighbors_mass (Real neighbors_mass) |
| To be called by TenANeighborEdge only called at the time of edge deletion. More... | |
Private Member Functions | |
| void | update_neighbor_mass_sum () const |
Private Attributes | |
| Real | neighbor_mass_ |
| Real | sum_of_neighbors_masses_ |
| Size | since_last_sonm_update_ |
Static Private Attributes | |
| static Size const | TIME_TO_UPDATE = 1024 |
| typedef utility::graph::Node core::scoring::TenANeighborNode::parent |
|
overridedefault |
| core::scoring::TenANeighborNode::TenANeighborNode | ( | utility::graph::Graph * | owner, |
| Size | node_id | ||
| ) |
Referenced by count_static_memory().
|
inline |
To be called by TenANeighborEdge only called at the time of edge addition.
References since_last_sonm_update_, and sum_of_neighbors_masses_.
Referenced by core::scoring::TenANeighborEdge::TenANeighborEdge().
|
override |
References neighbor_mass_, since_last_sonm_update_, and sum_of_neighbors_masses_.
|
override |
|
override |
References TenANeighborNode().
| void core::scoring::TenANeighborNode::neighbor_mass | ( | Real | mass | ) |
set the neighbor mass for a vertex
triggers update of the neighbor mass sums for this nodes' neighbors
References core::pose::mass(), neighbor_mass_, and update_neighbor_mass_sum().
|
inline |
return the neighbor mass for a vertex
References neighbor_mass_.
Referenced by core::scoring::TenANeighborEdge::~TenANeighborEdge().
|
inline |
To be called by TenANeighborEdge only called at the time of edge deletion.
References since_last_sonm_update_, and sum_of_neighbors_masses_.
|
inline |
References since_last_sonm_update_, sum_of_neighbors_masses_, TIME_TO_UPDATE, and update_neighbor_mass_sum().
|
private |
References since_last_sonm_update_, and sum_of_neighbors_masses_.
Referenced by neighbor_mass(), and sum_of_neighbors_masses().
|
private |
Referenced by copy_from(), and neighbor_mass().
|
mutableprivate |
Referenced by add_neighbors_mass(), copy_from(), subtract_neighbors_mass(), sum_of_neighbors_masses(), and update_neighbor_mass_sum().
|
mutableprivate |
Referenced by add_neighbors_mass(), copy_from(), subtract_neighbors_mass(), sum_of_neighbors_masses(), and update_neighbor_mass_sum().
|
staticprivate |
Referenced by sum_of_neighbors_masses().
1.8.7