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 (bool someFlush)
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 (double *modVector, int n)
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
bool usePhases
int numK
int peNumKeep
int numKReported
double entryThreshold
bool markedBegin
bool markedIdle
bool selected
int lastBeginEPIdx
double beginBlockTime
double beginIdleBlockTime
int numSelectionIter
int currentPhase
double * currentExecTimes
int lastPhaseIdx
int numEntryMethods
int numMetrics
int phaseIter
boolkeepMetric
double * incKSeeds
double minDistance
int lastMinK
int minK
double * kSeeds
intkNumMembers
intexemplarChoicesLeft
intoutlierChoicesLeft

Detailed Description

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


Constructor & Destructor Documentation

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

Definition at line 100 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 59 of file trace-projectionsBOC.h.

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

Referenced by getNextPhaseMetrics(), and phaseDone().

int KMeansBOC::numK [private]

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

Referenced by findRepresentatives().

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

Referenced by globalMetricRefinement().

double KMeansBOC::entryThreshold [private]

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

Referenced by globalMetricRefinement().

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 collectDistances(), flushCheckDone(), and phaseDone().

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

Referenced by flushCheckDone(), and getNextPhaseMetrics().

double KMeansBOC::beginBlockTime [private]

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

Referenced by flushCheckDone(), and getNextPhaseMetrics().

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

Referenced by flushCheckDone(), and getNextPhaseMetrics().

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

Referenced by findNextMinMax(), and findRepresentatives().

double* KMeansBOC::currentExecTimes [private]

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

Referenced by flushCheckDone(), and getNextPhaseMetrics().

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

Referenced by flushCheckDone().

double* KMeansBOC::incKSeeds [private]

double KMeansBOC::minDistance [private]

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

Referenced by collectDistances(), and updateSeedMembership().

int KMeansBOC::minK [private]

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

Referenced by findInitialClusters(), and updateSeedMembership().

double* KMeansBOC::kSeeds [private]

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

Referenced by globalMetricRefinement(), and updateKSeeds().

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

Referenced by findNextMinMax(), and findRepresentatives().

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

Referenced by findNextMinMax(), and findRepresentatives().


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

Generated on Mon Sep 21 08:26:10 2020 for Charm++ by  doxygen 1.5.5