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 |
clusterCreated(Cluster c)
Indicates that a new Cluster has been created by the algorithm.
|
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.
|
void |
nonfittingAssigned()
Indicates that a non-fitting group of traces has been added to an
existing cluster.
|
boolean |
shouldCancel()
This method should return true when the Clusterer should cancel.
|
void |
start()
Indicates that the clustering has started.
|
void |
targetReached(int groups)
Indicates that the target stop state has been reached.
|
void cancel()
void clusterCreated(Cluster c)
c
- The newly created clustervoid end()
boolean minimalClusterSizeImpossible()
void nonfittingAssigned()
boolean shouldCancel()
void start()
Clusterer.cluster()
.void targetReached(int groups)
groups
- The amount of groups of traces that not yet have been added to
a group.void importing()