Interface IMLog
-
- All Superinterfaces:
java.lang.Iterable<IMTrace>
- All Known Implementing Classes:
IMLogImpl,IMLogStartEndComplete
public interface IMLog extends java.lang.Iterable<IMTrace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.deckfour.xes.classification.XEventClassclassify(IMTrace IMTrace, org.deckfour.xes.model.XEvent event)Classify an eventIMLogclone()Clone this IMLog.IMTracecopyTrace(IMTrace trace)Copy a trace and return the copy.IMTracecopyTrace(IMTrace trace, java.util.BitSet traceOutEvents)Copy a trace and return the copy.IMLogdecoupleFromXLog()Turns the IMLog into an XLog, and makes a new IMLog out of it.org.deckfour.xes.classification.XEventClassifiergetClassifier()XLifeCycleClassifier.TransitiongetLifeCycle(org.deckfour.xes.model.XEvent event)XLifeCycleClassifiergetLifeCycleClassifier()org.deckfour.xes.model.XTracegetTraceWithIndex(int traceIndex)voidsetClassifier(org.deckfour.xes.classification.XEventClassifier classifier)voidsetLifeCycleClassifier(XLifeCycleClassifier lifeCycleClassifier)intsize()Return the number of traces in the logjava.lang.StringtoString()org.deckfour.xes.model.XLogtoXLog()
-
-
-
Method Detail
-
clone
IMLog clone()
Clone this IMLog. The new one might be based on the same XLog as the old one.- Returns:
-
classify
org.deckfour.xes.classification.XEventClass classify(IMTrace IMTrace, org.deckfour.xes.model.XEvent event)
Classify an event- Returns:
-
getClassifier
org.deckfour.xes.classification.XEventClassifier getClassifier()
-
setClassifier
void setClassifier(org.deckfour.xes.classification.XEventClassifier classifier)
-
getLifeCycle
XLifeCycleClassifier.Transition getLifeCycle(org.deckfour.xes.model.XEvent event)
-
getLifeCycleClassifier
XLifeCycleClassifier getLifeCycleClassifier()
-
setLifeCycleClassifier
void setLifeCycleClassifier(XLifeCycleClassifier lifeCycleClassifier)
-
getTraceWithIndex
org.deckfour.xes.model.XTrace getTraceWithIndex(int traceIndex)
-
size
int size()
Return the number of traces in the log- Returns:
-
copyTrace
IMTrace copyTrace(IMTrace trace, java.util.BitSet traceOutEvents)
Copy a trace and return the copy.- Parameters:
trace-traceOutEvents- A bitset showing for each event of the underlying XTrace whether this event is still included.- Returns:
-
copyTrace
IMTrace copyTrace(IMTrace trace)
Copy a trace and return the copy.- Parameters:
trace-- Returns:
-
toString
java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toXLog
org.deckfour.xes.model.XLog toXLog()
-
decoupleFromXLog
IMLog decoupleFromXLog()
Turns the IMLog into an XLog, and makes a new IMLog out of it. Use this method to reduce memory usage if the log becomes sparse.- Returns:
- the newly created IMLog, which has no connection anymore to the original XLog.
-
-