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

void setHeapsize (IT heapsize_)
 
 ~KmeansHeap ()
 
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 556 of file Zoltan2_TaskMapping.hpp.

Constructor & Destructor Documentation

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

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

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

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

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

Definition at line 623 of file Zoltan2_TaskMapping.hpp.

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

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

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

Definition at line 661 of file Zoltan2_TaskMapping.hpp.


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