public class Cluster
extends java.lang.Object
| Constructor and Description |
|---|
Cluster(org.deckfour.xes.model.XLog log,
ProcessModelFactory factory,
java.lang.String name)
Create a new Cluster, with the given internal log, model and name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExternal(java.util.Collection<? extends org.deckfour.xes.model.XTrace> traces)
Add the traces in the given XLog to the external traces.
|
Cluster |
addInternal(java.util.Collection<? extends org.deckfour.xes.model.XTrace> traces)
Create a new cluster that is identical to this cluster, except its
internal log consists of the internal log of this cluster and the given
set of traces.
|
Cluster |
clone()
Returns a copy of the cluster
|
float |
getCorrectness()
TODO comments
|
float |
getCorrectness(Metric m) |
int |
getExternalGroupCount()
Return the amount of DPI in the external log.
|
org.deckfour.xes.model.XLog |
getExternalLog()
Return a copy of the external log of this cluster.
|
int |
getInternalGroupCount()
Return the amount of DPI in the internal log.
|
org.deckfour.xes.model.XLog |
getInternalLog()
Return a copy of the internal log of this Cluster.
|
java.lang.String |
getName()
Return the name of this cluster.
|
ProcessModel |
getProcessModel()
Return the ProcessModel that represents this cluster.
|
public Cluster(org.deckfour.xes.model.XLog log,
ProcessModelFactory factory,
java.lang.String name)
log - The internal log for this cluster.factory - The factory that will be used to create the internal process
model.name - The name of this cluster.public void addExternal(java.util.Collection<? extends org.deckfour.xes.model.XTrace> traces)
public Cluster addInternal(java.util.Collection<? extends org.deckfour.xes.model.XTrace> traces)
public int getExternalGroupCount()
public org.deckfour.xes.model.XLog getExternalLog()
public float getCorrectness()
public float getCorrectness(Metric m)
public int getInternalGroupCount()
public org.deckfour.xes.model.XLog getInternalLog()
public java.lang.String getName()
public ProcessModel getProcessModel()
public Cluster clone()
clone in class java.lang.Object