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

#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 >

Definition at line 683 of file Zoltan2_TaskMapping.hpp.

Constructor & Destructor Documentation

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

Definition at line 692 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 696 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 702 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 706 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 712 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 725 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 729 of file Zoltan2_TaskMapping.hpp.

Member Data Documentation

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

Definition at line 690 of file Zoltan2_TaskMapping.hpp.


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