public class ClustererEventListenerUI extends java.lang.Object implements ClustererEventListener
| Constructor and Description |
|---|
ClustererEventListenerUI(org.processmining.contexts.uitopia.UIPluginContext context,
org.deckfour.xes.model.XLog log)
Create a new ClustererEventListenerUI for the given UIPluginContext, XLog
and ATCParameters.
|
| 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.
|
public ClustererEventListenerUI(org.processmining.contexts.uitopia.UIPluginContext context,
org.deckfour.xes.model.XLog log)
public void cancel()
ClustererEventListenercancel in interface ClustererEventListenerpublic void clusterFinished(Cluster c)
ClustererEventListenerclusterFinished in interface ClustererEventListenerpublic void end()
ClustererEventListenerend in interface ClustererEventListenerpublic boolean minimalClusterSizeImpossible()
ClustererEventListenerminimalClusterSizeImpossible in interface ClustererEventListenerpublic boolean shouldCancel()
ClustererEventListenershouldCancel in interface ClustererEventListenerpublic void start()
ClustererEventListenerClusterer.cluster().start in interface ClustererEventListenerpublic void importing()
ClustererEventListenerimporting in interface ClustererEventListenerpublic void dpiAssigned(int nbTraces,
int nbDpiLeft,
boolean external)
ClustererEventListenerdpiAssigned in interface ClustererEventListenernbTraces - 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.