Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
protocols::toolbox::KMedoid Class Reference

Typical K-Medoids Clustering Algorithm. More...

#include <KCluster.hh>

Inheritance diagram for protocols::toolbox::KMedoid:
Inheritance graph
[legend]
Collaboration diagram for protocols::toolbox::KMedoid:
Collaboration graph
[legend]

Public Member Functions

 KMedoid ()
 
bool whoami ()
 
Real get_threshold ()
 
void init (KClusterElementOP, Size first=0)
 
Real assign (KClusterElementOP, KClusterData &)
 
void update (KClusterElementOP, KClusterData &)
 
void set_threshold (Real)
 
- Public Member Functions inherited from protocols::toolbox::KCluster
 KCluster ()
 
virtual ~KCluster ()
 
void cluster (KClusterElementOP, KClusterData &, Size first=0)
 
void set_ncluster (Size nc)
 

Protected Member Functions

void copy_coord (Size, FA2d &, FA2d &)
 

Protected Attributes

Size cur_ncluster_
 
Real threshold_
 
- Protected Attributes inherited from protocols::toolbox::KCluster
Size n_cluster_
 

Additional Inherited Members

- Public Types inherited from protocols::toolbox::KCluster
typedef ObjexxFCL::FArray2_double FA2d
 
typedef ObjexxFCL::FArray2P_double FA2Pd
 
typedef ObjexxFCL::FArray2D_double FA2Dd
 

Detailed Description

Typical K-Medoids Clustering Algorithm.

Constructor & Destructor Documentation

protocols::toolbox::KMedoid::KMedoid ( )

References threshold_.

Member Function Documentation

Real protocols::toolbox::KMedoid::assign ( KClusterElementOP  c,
KClusterData d 
)
virtual
void protocols::toolbox::KMedoid::copy_coord ( Size  len,
FA2d src,
FA2d dst 
)
protected

Referenced by assign().

Real protocols::toolbox::KMedoid::get_threshold ( )
virtual

Implements protocols::toolbox::KCluster.

References threshold_.

void protocols::toolbox::KMedoid::init ( KClusterElementOP  c,
Size  first = 0 
)
virtual
void protocols::toolbox::KMedoid::set_threshold ( Real  t)
virtual
void protocols::toolbox::KMedoid::update ( KClusterElementOP  c,
KClusterData d 
)
virtual
bool protocols::toolbox::KMedoid::whoami ( )
virtual

Member Data Documentation

Size protocols::toolbox::KMedoid::cur_ncluster_
protected

Referenced by assign(), init(), and update().

Real protocols::toolbox::KMedoid::threshold_
protected

The documentation for this class was generated from the following files: