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,
ATCParameters parameters)
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 |
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 left)
Indicates that the target stop state has been reached.
|
public ClustererEventListenerUI(org.processmining.contexts.uitopia.UIPluginContext context, org.deckfour.xes.model.XLog log, ATCParameters parameters)
public void cancel()
ClustererEventListener
cancel
in interface ClustererEventListener
public void clusterCreated(Cluster c)
ClustererEventListener
clusterCreated
in interface ClustererEventListener
c
- The newly created clusterpublic void end()
ClustererEventListener
end
in interface ClustererEventListener
public boolean minimalClusterSizeImpossible()
ClustererEventListener
minimalClusterSizeImpossible
in interface ClustererEventListener
public void nonfittingAssigned()
ClustererEventListener
nonfittingAssigned
in interface ClustererEventListener
public boolean shouldCancel()
ClustererEventListener
shouldCancel
in interface ClustererEventListener
public void start()
ClustererEventListener
Clusterer.cluster()
.start
in interface ClustererEventListener
public void targetReached(int left)
ClustererEventListener
targetReached
in interface ClustererEventListener
left
- The amount of groups of traces that not yet have been added to
a group.public void importing()
ClustererEventListener
importing
in interface ClustererEventListener