Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Zoltan2::KMeansCluster< IT, WT > Class Template Reference

KMeansCluster Class. More...

#include <Zoltan2_TaskMapping.hpp>

Public Member Functions

 ~KMeansCluster ()
 
void setParams (int dimension_, int heapsize)
 
void clearHeap ()
 
bool getNewCenters (WT **coords)
 
WT getDistance (IT index, WT **elementCoords)
 
WT getDistanceToCenter ()
 
void copyCoordinates (IT *permutation)
 

Public Attributes

WT * center
 

Detailed Description

template<class IT, class WT>
class Zoltan2::KMeansCluster< IT, WT >

KMeansCluster Class.

Definition at line 671 of file Zoltan2_TaskMapping.hpp.

Constructor & Destructor Documentation

template<class IT , class WT >
Zoltan2::KMeansCluster< IT, WT >::~KMeansCluster ( )
inline

Definition at line 678 of file Zoltan2_TaskMapping.hpp.

Member Function Documentation

template<class IT , class WT >
void Zoltan2::KMeansCluster< IT, WT >::setParams ( int  dimension_,
int  heapsize 
)
inline

Definition at line 682 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
void Zoltan2::KMeansCluster< IT, WT >::clearHeap ( )
inline

Definition at line 688 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
bool Zoltan2::KMeansCluster< IT, WT >::getNewCenters ( WT **  coords)
inline

Definition at line 692 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
WT Zoltan2::KMeansCluster< IT, WT >::getDistance ( IT  index,
WT **  elementCoords 
)
inline

Definition at line 698 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
WT Zoltan2::KMeansCluster< IT, WT >::getDistanceToCenter ( )
inline

Definition at line 709 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
void Zoltan2::KMeansCluster< IT, WT >::copyCoordinates ( IT *  permutation)
inline

Definition at line 713 of file Zoltan2_TaskMapping.hpp.

Member Data Documentation

template<class IT , class WT >
WT* Zoltan2::KMeansCluster< IT, WT >::center

Definition at line 677 of file Zoltan2_TaskMapping.hpp.


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