public interface ClustererEventListener
Clusterer
-class.| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
You should call this method when the underlying Clusterer has cancelled.
|
void |
clusterFinished(Cluster c)
Indicates that a new Cluster has been finished by the algorithm.
|
void |
dpiAssigned(int nbTraces,
int nbDpiLeft,
boolean external)
Indicates that a dpi has been assigned to a cluster.
|
void |
end()
Indicates that the processing has finished.
|
void |
importing()
Indicates that the Clusterer is currently importing data.
|
boolean |
minimalClusterSizeImpossible()
This method is called when the clustering algorithm is unable to find a
cluster that satisfies the minimal cluster size without decreasing the
fitness of the cluster.
|
boolean |
shouldCancel()
This method should return true when the Clusterer should cancel.
|
void |
start()
Indicates that the clustering has started.
|
void cancel()
void clusterFinished(Cluster c)
void end()
boolean minimalClusterSizeImpossible()
boolean shouldCancel()
void start()
Clusterer.cluster().void dpiAssigned(int nbTraces,
int nbDpiLeft,
boolean external)
nbTraces - The amount of traces in the dpi that was assigned.nbDpiLeft - The amount of dpi that are still unassigned.external - Whether or not this trace has been added externally to a
cluster. A value of true indicates external, false is
internal.void importing()