![]() |
Rosetta
2021.16
|
basic class for performing a K-style Clustering algorithm More...
#include <KCluster.hh>

Public Types | |
| typedef ObjexxFCL::FArray2_double | FA2d |
| typedef ObjexxFCL::FArray2P_double | FA2Pd |
| typedef ObjexxFCL::FArray2D_double | FA2Dd |
Public Member Functions | |
| KCluster () | |
| ~KCluster () override | |
| virtual void | init (KClusterElementOP, core::Size first=0)=0 |
| virtual void | update (KClusterElementOP, KClusterData &)=0 |
| virtual bool | whoami ()=0 |
| virtual core::Real | get_threshold ()=0 |
| virtual void | set_threshold (core::Real)=0 |
| virtual core::Real | assign (KClusterElementOP, KClusterData &)=0 |
| void | cluster (KClusterElementOP, KClusterData &, core::Size first=0) |
| void | set_ncluster (core::Size nc) |
Protected Attributes | |
| core::Size | n_cluster_ |
basic class for performing a K-style Clustering algorithm
| typedef ObjexxFCL::FArray2_double protocols::toolbox::KCluster::FA2d |
| typedef ObjexxFCL::FArray2D_double protocols::toolbox::KCluster::FA2Dd |
| typedef ObjexxFCL::FArray2P_double protocols::toolbox::KCluster::FA2Pd |
| protocols::toolbox::KCluster::KCluster | ( | ) |
|
overridedefault |
|
pure virtual |
Implemented in protocols::toolbox::GreedyKCenter, and protocols::toolbox::KMedoid.
| void protocols::toolbox::KCluster::cluster | ( | KClusterElementOP | c, |
| KClusterData & | d, | ||
| core::Size | first = 0 |
||
| ) |
References core::init::init(), protocols::hybridization::score, and protocols::TR().
|
pure virtual |
Implemented in protocols::toolbox::GreedyKCenter, and protocols::toolbox::KMedoid.
|
pure virtual |
Implemented in protocols::toolbox::GreedyKCenter, and protocols::toolbox::KMedoid.
|
inline |
References n_cluster_.
|
pure virtual |
Implemented in protocols::toolbox::GreedyKCenter, and protocols::toolbox::KMedoid.
|
pure virtual |
Implemented in protocols::toolbox::GreedyKCenter, and protocols::toolbox::KMedoid.
|
pure virtual |
Implemented in protocols::toolbox::GreedyKCenter, and protocols::toolbox::KMedoid.
|
protected |
Referenced by protocols::toolbox::KMedoid::init(), set_ncluster(), and protocols::toolbox::GreedyKCenter::update().
1.8.7