public static class KMeansPivotChooser.ComputeCentroidThread extends KMeansPivotChooser.CenterThread
Constructor and Description |
---|
KMeansPivotChooser.ComputeCentroidThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot) |
Modifier and Type | Method and Description |
---|---|
protected void |
obtainCenter(AbstractObjectList<LocalAbstractObject> samplePivots)
Compute/find new centroid/center and assign it to @{link #clustroid}.
|
getClustroid, run
activeCount, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public KMeansPivotChooser.ComputeCentroidThread(AbstractObjectList<LocalAbstractObject> cluster, LocalAbstractObject originalPivot)
protected void obtainCenter(AbstractObjectList<LocalAbstractObject> samplePivots)
KMeansPivotChooser.CenterThread
obtainCenter
in class KMeansPivotChooser.CenterThread
samplePivots
- list of objects to be used to get new center from