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

KMeansAlgorithm Class that performs clustering of the coordinates, and returns the closest set of coordinates. More...

#include <Zoltan2_TaskMapping.hpp>

Public Member Functions

 ~KMeansAlgorithm ()
 
 KMeansAlgorithm (int dim_, IT numElements_, WT **elementCoords_, IT required_elements_)
 KMeansAlgorithm Constructor. More...
 
void kmeans ()
 
void getMinDistanceCluster (IT *procPermutation)
 

Detailed Description

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

KMeansAlgorithm Class that performs clustering of the coordinates, and returns the closest set of coordinates.

Useful to filter the processors, when there are more processors than needed.

Definition at line 733 of file Zoltan2_TaskMapping.hpp.

Constructor & Destructor Documentation

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

Definition at line 745 of file Zoltan2_TaskMapping.hpp.

template<class IT, class WT>
Zoltan2::KMeansAlgorithm< IT, WT >::KMeansAlgorithm ( int  dim_,
IT  numElements_,
WT **  elementCoords_,
IT  required_elements_ 
)
inline

KMeansAlgorithm Constructor.

Definition at line 753 of file Zoltan2_TaskMapping.hpp.

Member Function Documentation

template<class IT, class WT>
void Zoltan2::KMeansAlgorithm< IT, WT >::kmeans ( )
inline

Definition at line 829 of file Zoltan2_TaskMapping.hpp.

template<class IT, class WT>
void Zoltan2::KMeansAlgorithm< IT, WT >::getMinDistanceCluster ( IT *  procPermutation)
inline

Definition at line 862 of file Zoltan2_TaskMapping.hpp.


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