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

KmeansHeap Class, max heap, but holds the minimum values. More...

#include <Zoltan2_TaskMapping.hpp>

Public Member Functions

 ~KmeansHeap ()
 
void setHeapsize (IT heapsize_)
 
void addPoint (IT index, WT distance)
 
void push_down (IT index_on_heap)
 
void initValues ()
 
WT getTotalDistance ()
 
bool getNewCenters (WT *center, WT **coords, int dimension)
 
void copyCoordinates (IT *permutation)
 

Detailed Description

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

KmeansHeap Class, max heap, but holds the minimum values.

Definition at line 557 of file Zoltan2_TaskMapping.hpp.

Constructor & Destructor Documentation

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

Definition at line 566 of file Zoltan2_TaskMapping.hpp.

Member Function Documentation

template<class IT , class WT >
void Zoltan2::KmeansHeap< IT, WT >::setHeapsize ( IT  heapsize_)
inline

Definition at line 571 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
void Zoltan2::KmeansHeap< IT, WT >::addPoint ( IT  index,
WT  distance 
)
inline

Definition at line 578 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
void Zoltan2::KmeansHeap< IT, WT >::push_down ( IT  index_on_heap)
inline

Definition at line 594 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
void Zoltan2::KmeansHeap< IT, WT >::initValues ( )
inline

Definition at line 628 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
WT Zoltan2::KmeansHeap< IT, WT >::getTotalDistance ( )
inline

Definition at line 638 of file Zoltan2_TaskMapping.hpp.

template<class IT , class WT >
bool Zoltan2::KmeansHeap< IT, WT >::getNewCenters ( WT *  center,
WT **  coords,
int  dimension 
)
inline

Definition at line 651 of file Zoltan2_TaskMapping.hpp.

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

Definition at line 673 of file Zoltan2_TaskMapping.hpp.


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