![]() |
Rosetta
2021.16
|
Data structure for one similarity measurement (s_ik) for affinity propagation clustering. More...
#include <APCluster.hh>
Public Member Functions | |
| Exemplar (core::Size k_in, core::Real s_ik_in) | |
| ~Exemplar ()=default | |
Static Public Member Functions | |
| static bool | min_heap (Exemplar a, Exemplar b) |
| "Less than" (actually greater than) comparator for making a heap of exemplars More... | |
Public Attributes | |
| core::Size | k |
| core::Real | s_ik |
| core::Real | r_ik |
| core::Real | a_ik |
Data structure for one similarity measurement (s_ik) for affinity propagation clustering.
There will be one instance of this class for each (finite) similarity between two input points, up to a maximum of N*N instances if the similarity matrix is fully populated.
|
inline |
|
default |
"Less than" (actually greater than) comparator for making a heap of exemplars
Less-than comparator works backwards on similarity values, to effectively implement a min-heap instead of a max-heap.
References s_ik.
Referenced by protocols::cluster::DataPoint::add_similarity().
| core::Real protocols::cluster::Exemplar::a_ik |
| core::Size protocols::cluster::Exemplar::k |
Referenced by protocols::cluster::APCluster::assign_exemplars(), protocols::cluster::APCluster::freeze(), protocols::cluster::APCluster::get_net_sim(), protocols::cluster::APCluster::load_binary(), protocols::cluster::APCluster::save_binary(), protocols::cluster::APCluster::update_a_ik(), and protocols::cluster::APCluster::update_r_ik().
| core::Real protocols::cluster::Exemplar::r_ik |
| core::Real protocols::cluster::Exemplar::s_ik |
1.8.7