PPL Logo

KMeansBOC Class Reference

#include <trace-projectionsBOC.h>

Inheritance diagram for KMeansBOC:

Inheritance graph
[legend]
Collaboration diagram for KMeansBOC:

Collaboration graph
[legend]

Public Member Functions

 KMeansBOC (bool outlierAutomatic, int numKSeeds, int _peNumKeep, double _entryThreshold, bool outlierUsePhases)
 KMeansBOC (CkMigrateMessage *m)
void startKMeansAnalysis ()
void flushCheck (CkReductionMsg *msg)
void flushCheckDone ()
void getNextPhaseMetrics ()
void collectKMeansData ()
 Through a reduction, collectKMeansData aggregates each processors' data in order for global properties to be determined:.
void globalMetricRefinement (CkReductionMsg *msg)
void initKSeeds ()
void findInitialClusters (KMeansStatsMessage *msg)
void updateKSeeds (CkReductionMsg *msg)
double calculateDistance (int k)
void updateSeedMembership (KSeedsMessage *msg)
void findRepresentatives ()
void collectDistances (KSelectionMessage *msg)
void findNextMinMax (CkReductionMsg *msg)
void phaseDone ()
 Completion of the K-Means clustering and data selection of one phase of the computation.

Private Attributes

bool autoCompute
int numK
int peNumKeep
double entryThreshold
bool usePhases
int numKReported
bool markedBegin
bool markedIdle
double beginBlockTime
double beginIdleBlockTime
int lastBeginEPIdx
int numSelectionIter
bool selected
int currentPhase
int lastPhaseIdx
doublecurrentExecTimes
int numEntryMethods
int numMetrics
int phaseIter
boolkeepMetric
doubleincKSeeds
double minDistance
int lastMinK
int minK
doublekSeeds
intkNumMembers
intexemplarChoicesLeft
intoutlierChoicesLeft

Detailed Description

Definition at line 54 of file trace-projectionsBOC.h.


Constructor & Destructor Documentation

KMeansBOC::KMeansBOC ( bool  outlierAutomatic,
int  numKSeeds,
int  _peNumKeep,
double  _entryThreshold,
bool  outlierUsePhases 
) [inline]

Definition at line 99 of file trace-projectionsBOC.h.

KMeansBOC::KMeansBOC ( CkMigrateMessage m  )  [inline]

Definition at line 104 of file trace-projectionsBOC.h.


Member Function Documentation

void KMeansBOC::initKSeeds (  ) 


Field Documentation

Definition at line 57 of file trace-projectionsBOC.h.

int KMeansBOC::numK [private]

Definition at line 59 of file trace-projectionsBOC.h.

Referenced by findRepresentatives().

Definition at line 60 of file trace-projectionsBOC.h.

Referenced by globalMetricRefinement().

Definition at line 61 of file trace-projectionsBOC.h.

Referenced by getNextPhaseMetrics(), and phaseDone().

Definition at line 63 of file trace-projectionsBOC.h.

Referenced by globalMetricRefinement().

Definition at line 66 of file trace-projectionsBOC.h.

Referenced by flushCheckDone(), and getNextPhaseMetrics().

Definition at line 67 of file trace-projectionsBOC.h.

Referenced by flushCheckDone(), and getNextPhaseMetrics().

Definition at line 68 of file trace-projectionsBOC.h.

Referenced by flushCheckDone(), and getNextPhaseMetrics().

Definition at line 69 of file trace-projectionsBOC.h.

Referenced by flushCheckDone(), and getNextPhaseMetrics().

Definition at line 70 of file trace-projectionsBOC.h.

Referenced by flushCheckDone(), and getNextPhaseMetrics().

Definition at line 71 of file trace-projectionsBOC.h.

Referenced by findNextMinMax(), and findRepresentatives().

Definition at line 72 of file trace-projectionsBOC.h.

Referenced by collectDistances(), flushCheckDone(), and phaseDone().

Definition at line 75 of file trace-projectionsBOC.h.

Referenced by flushCheckDone(), and getNextPhaseMetrics().

Definition at line 79 of file trace-projectionsBOC.h.

Referenced by flushCheckDone().

Definition at line 86 of file trace-projectionsBOC.h.

Referenced by collectDistances(), and updateSeedMembership().

int KMeansBOC::minK [private]

Definition at line 87 of file trace-projectionsBOC.h.

Referenced by findInitialClusters(), and updateSeedMembership().

Definition at line 92 of file trace-projectionsBOC.h.

Referenced by globalMetricRefinement(), and updateKSeeds().

Definition at line 95 of file trace-projectionsBOC.h.

Referenced by findNextMinMax(), and findRepresentatives().

Definition at line 96 of file trace-projectionsBOC.h.

Referenced by findNextMinMax(), and findRepresentatives().


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

Generated on Fri May 25 08:03:54 2012 for Charm++ by  doxygen 1.5.5