Class Overview
Implementation of an agglomerative based clustering where all items within a
certain time cutoff are grouped into the same cluster. Small adjacent
clusters are merged and large individual clusters are considered for
splitting.
TODO: Limitation: Can deal with items not being added incrementally to the
end of the current date range but effectively assumes this is the case for
efficient performance.
Summary
Nested Classes |
class |
MediaClustering.Cluster |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Methods
public
void
addItemForClustering
(MediaItem mediaItem)
public
void
compute
(MediaItem currentItem, boolean processAllItems)
public
void
removeItemFromClustering
(MediaItem mediaItem)
public
void
setTimeRange
(long timeRange, int numItems)