public class Utils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GENERALIZATION_MEASURE |
static java.lang.String |
PRECISION_MEASURE |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static org.deckfour.xes.model.XLog |
cloneLog(org.deckfour.xes.model.XLog log) |
static org.deckfour.xes.model.XLog |
flattenLifecycles(org.deckfour.xes.model.XLog log) |
static java.util.Map<QualityCriterion,java.lang.Object> |
getDistance(org.processmining.ptconversions.pn.ProcessTree2Petrinet.PetrinetWithMarkings petriNet,
org.deckfour.xes.model.XLog log)
Aligns the petri net to a log and return the distance.
|
static org.jgraph.JGraph |
getGraphForTree(org.processmining.processtree.ProcessTree tree) |
static java.lang.Double |
getModelSimilarity(org.processmining.processtree.ProcessTree inputTree,
org.processmining.processtree.ProcessTree resultTree)
Model similarity is defined as (tree edit distance / max tree edits (i.e.
|
static java.lang.String |
getName(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
java.lang.String defaultName) |
static java.lang.String |
getName(org.deckfour.xes.model.XAttributable object,
java.lang.String defaultName)
Extracts a name of an object (e.g.
|
static java.lang.Double |
getTraceSimilarity(org.deckfour.xes.model.XLog inputLog,
org.deckfour.xes.model.XLog resultLog) |
static org.processmining.processtree.ProcessTree |
mineProcessTree(org.deckfour.xes.model.XLog inputLog,
double noiseThreshold) |
public static final java.lang.String PRECISION_MEASURE
public static final java.lang.String GENERALIZATION_MEASURE
public static org.processmining.processtree.ProcessTree mineProcessTree(org.deckfour.xes.model.XLog inputLog, double noiseThreshold)
public static org.deckfour.xes.model.XLog cloneLog(org.deckfour.xes.model.XLog log)
public static org.deckfour.xes.model.XLog flattenLifecycles(org.deckfour.xes.model.XLog log)
public static java.util.Map<QualityCriterion,java.lang.Object> getDistance(org.processmining.ptconversions.pn.ProcessTree2Petrinet.PetrinetWithMarkings petriNet, org.deckfour.xes.model.XLog log)
petriNet
- log
- public static org.jgraph.JGraph getGraphForTree(org.processmining.processtree.ProcessTree tree)
public static java.lang.Double getTraceSimilarity(org.deckfour.xes.model.XLog inputLog, org.deckfour.xes.model.XLog resultLog)
public static java.lang.String getName(org.deckfour.xes.model.XAttributable object, java.lang.String defaultName)
object
- XAttributable
some object that potentially has a namedefaultName
- String default namepublic static java.lang.String getName(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, java.lang.String defaultName)
public static java.lang.Double getModelSimilarity(org.processmining.processtree.ProcessTree inputTree, org.processmining.processtree.ProcessTree resultTree)
inputTree
- ProcessTree
MresultTree
- ProcessTree
M*