public class ClusterStatistics
extends java.lang.Object
Cluster
-class. It is able
to calculate a number of statistics based on a cluster and cache those.
Nearly every method in this class will only fully execute when it is called
for the first time. If it is called again afterwards, it will return the same
result as on the previous execution without requiring additional computation
time. Many methods in this class are synchronised and should be safe to be
used in multi-threaded applications.Constructor and Description |
---|
ClusterStatistics(Cluster cluster)
Create a ClusterStatistics object for the given Cluster.
|
Modifier and Type | Method and Description |
---|---|
float |
getAverageConnectorDegree()
Return the Average Connector Degree.
|
Cluster |
getCluster()
Return the Cluster on which we are operating.
|
java.util.List<org.deckfour.xes.model.XEvent> |
getDistinctEvents()
Return the distinct events that are used in this cluster.
|
java.util.List<org.deckfour.xes.model.XEvent> |
getExternalDistinctEvents()
Return the distinct events that are part of the "external" traces of this
cluster.
|
java.util.List<org.deckfour.xes.model.XEvent> |
getInternalDistinctEvents()
Return the distinct events that are part of the "internal" traces of this
cluster.
|
float |
getMeanTraceLength()
Return the average amount of events of which a trace consists in this
cluster.
|
int |
getNbArcs()
Return the amount of arcs in the HeuristicsNet.
|
int |
getNbDistinctEvents()
Return the amount of distinct events that are used in this cluster.
|
int |
getNbDpi()
Return the amount of distinct process instances in this cluster.
|
int |
getNbEvents()
Return the amount of events in this cluster.
|
int |
getNbExternalDistinctEvents()
Return the amount of distinct events that are part of the "external"
traces of this cluster.
|
int |
getNbExtraConformantTraces()
Return the amount of traces that
are in this cluster
are not used to build the underlying process model
perfectly fit the underlying process model
|
int |
getNbExtraNonConformantTraces()
Return the amount of traces that
are in this cluster
are not used to build the underlying process model
don't (perfectly) fit the underlying process model
|
int |
getNbFittingDpi()
Return the amount of distinct process instances in this cluster and fit
the underlying process model.
|
int |
getNbInternalDistinctEvents()
Return the amount of distinct events that are part of the "internal"
traces of this cluster.
|
int |
getNbNodes()
Return the amount of nodes of which the HeuristicsNet associated with
this cluster consists.
|
int |
getNbTraces()
Return the total amount of traces in this cluster.
|
float |
getNetDensity()
Return the density of the HeuristicsNet associated with this cluster.
|
float |
getPM()
Return the Parsing Measure of this cluster.
|
public ClusterStatistics(Cluster cluster)
public float getAverageConnectorDegree()
public Cluster getCluster()
public java.util.List<org.deckfour.xes.model.XEvent> getDistinctEvents()
public java.util.List<org.deckfour.xes.model.XEvent> getExternalDistinctEvents()
public java.util.List<org.deckfour.xes.model.XEvent> getInternalDistinctEvents()
public float getMeanTraceLength()
public int getNbArcs()
public int getNbDistinctEvents()
public int getNbDpi()
public int getNbEvents()
public int getNbExternalDistinctEvents()
public int getNbExtraConformantTraces()
public int getNbExtraNonConformantTraces()
public int getNbFittingDpi()
public int getNbInternalDistinctEvents()
public int getNbNodes()
public int getNbTraces()
public float getNetDensity()
public float getPM()