public class MDTUtils
extends java.lang.Object
| Constructor and Description |
|---|
MDTUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSeverity(org.deckfour.xes.model.XTrace trace,
java.lang.Double freq,
java.lang.Double alt,
java.lang.Double stab)
Add the severity fields to the given trace.
|
static org.deckfour.xes.model.XEvent |
createEvent(java.lang.String name)
Create an event with the given parameters.
|
static org.deckfour.xes.model.XLog |
createMDT(java.lang.String name,
java.lang.String descrip,
java.lang.String source)
Create a MDT (a XLog) setting and initializing all the parameters.
|
static org.deckfour.xes.model.XTrace |
createTrace(java.lang.String name)
Create a new trace with the given parameters.
|
public static org.deckfour.xes.model.XLog createMDT(java.lang.String name,
java.lang.String descrip,
java.lang.String source)
name - Name of the log.descrip - Description of the log.source - Source of the log.public static org.deckfour.xes.model.XTrace createTrace(java.lang.String name)
name - Name of the trace.public static org.deckfour.xes.model.XEvent createEvent(java.lang.String name)
name - Name of the activity of the event.public static void addSeverity(org.deckfour.xes.model.XTrace trace,
java.lang.Double freq,
java.lang.Double alt,
java.lang.Double stab)
trace - Trace for adding the severity.freq - Value of the frequency factor.alt - Value of the alternation factor.stab - Value of the stabing factor.