Zoltan2
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. Useful to filter the processors, when there are more processors than needed. 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 423 of file Zoltan2_TaskMapping.hpp.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

Definition at line 510 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 536 of file Zoltan2_TaskMapping.hpp.


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