|
Rosetta 3.5
|
Data structure for one input data point for affinity propagation clustering. More...
#include <APCluster.hh>

Public Member Functions | |
| DataPoint (core::Size i_in) | |
| ~DataPoint () | |
| void | add_similarity (core::Size k, core::Real s_ik, core::Size max_sims) |
| Set similarity s(i,k), the suitability of point k to be an exemplar for this point. More... | |
| bool | is_set_s_kk () const |
Data structure for one input data point for affinity propagation clustering.
There should be one instance of this class for each input point. Fields are public because it's a glorified struct – clients shouldn't use this directly.
Definition at line 67 of file APCluster.hh.
|
inline |
Definition at line 71 of file APCluster.hh.
|
inline |
Definition at line 83 of file APCluster.hh.
| void protocols::cluster::DataPoint::add_similarity | ( | core::Size | k, |
| core::Real | s_ik, | ||
| core::Size | max_sims | ||
| ) |
Set similarity s(i,k), the suitability of point k to be an exemplar for this point.
If this point has more than max_sims similarities already stored, the lowest one (most negative) will be discarded.
There is currently no protection against adding s(i,k) twice, which will not be caught and will screw up the computation royally.
Definition at line 45 of file APCluster.cc.
References candidates, curr_exemplar, i, protocols::cluster::Exemplar::min_heap(), and s_kk.
|
inline |
Definition at line 88 of file APCluster.hh.
References curr_exemplar.
| core::Real protocols::cluster::DataPoint::a_kk |
Definition at line 94 of file APCluster.hh.
Referenced by protocols::cluster::APCluster::assign_exemplars(), protocols::cluster::APCluster::reinitialize(), protocols::cluster::APCluster::update_a_ik(), and protocols::cluster::APCluster::update_r_ik().
| core::Size protocols::cluster::DataPoint::best_exemplar |
Definition at line 97 of file APCluster.hh.
Referenced by protocols::cluster::APCluster::reinitialize(), protocols::cluster::APCluster::restore_best_exemplars(), and protocols::cluster::APCluster::save_best_exemplars().
| utility::vector1< Exemplar* > protocols::cluster::DataPoint::candidate_for |
Definition at line 99 of file APCluster.hh.
Referenced by protocols::cluster::APCluster::freeze(), and protocols::cluster::APCluster::update_a_ik().
| utility::vector1< Exemplar > protocols::cluster::DataPoint::candidates |
Definition at line 98 of file APCluster.hh.
Referenced by add_similarity(), protocols::cluster::APCluster::assign_exemplars(), protocols::cluster::APCluster::freeze(), protocols::cluster::APCluster::get_net_sim(), protocols::cluster::APCluster::load_binary(), protocols::cluster::APCluster::reinitialize(), protocols::cluster::APCluster::save_binary(), protocols::cluster::APCluster::update_a_ik(), and protocols::cluster::APCluster::update_r_ik().
| core::Size protocols::cluster::DataPoint::curr_exemplar |
Definition at line 96 of file APCluster.hh.
Referenced by add_similarity(), protocols::cluster::APCluster::assign_exemplars(), protocols::cluster::APCluster::get_all_exemplars(), protocols::cluster::APCluster::get_cluster_for(), protocols::cluster::APCluster::get_net_sim(), protocols::cluster::APCluster::get_num_exemplars(), is_set_s_kk(), protocols::cluster::APCluster::load_binary(), protocols::cluster::APCluster::reinitialize(), protocols::cluster::APCluster::restore_best_exemplars(), protocols::cluster::APCluster::save_best_exemplars(), and protocols::cluster::APCluster::save_binary().
| core::Size protocols::cluster::DataPoint::i |
Definition at line 91 of file APCluster.hh.
Referenced by add_similarity(), protocols::cluster::APCluster::assign_exemplars(), protocols::cluster::APCluster::get_all_exemplars(), protocols::cluster::APCluster::get_num_exemplars(), protocols::cluster::APCluster::load_binary(), and protocols::cluster::APCluster::save_binary().
| core::Real protocols::cluster::DataPoint::r_kk |
Definition at line 93 of file APCluster.hh.
Referenced by protocols::cluster::APCluster::assign_exemplars(), protocols::cluster::APCluster::reinitialize(), protocols::cluster::APCluster::update_a_ik(), and protocols::cluster::APCluster::update_r_ik().
| core::Real protocols::cluster::DataPoint::s_kk |
Definition at line 92 of file APCluster.hh.
Referenced by add_similarity(), protocols::cluster::APCluster::get_net_sim(), protocols::cluster::APCluster::load_binary(), protocols::cluster::APCluster::save_binary(), and protocols::cluster::APCluster::update_r_ik().
| core::Real protocols::cluster::DataPoint::sum |
Definition at line 95 of file APCluster.hh.
Referenced by protocols::cluster::APCluster::update_a_ik().
1.8.4