Interface IMTraceIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMTraceIteratorclone()intgetTraceIndex()Get the current trace index.booleanisEmpty()intitEventGetActivityIndex()The within-trace iterator, which is automatically reset upon moving to the next trace.intitEventGetEventIndex()org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier.TransitionitEventGetLifeCycleTransition()The within-trace iterator, which is automatically reset upon moving to the next trace.booleanitEventHasNext()The within-trace iterator, which is automatically reset upon moving to the next trace.booleanitEventHasPrevious()The within-trace iterator, which is automatically reset upon moving to the next trace.voiditEventNext()The within-trace iterator, which is automatically reset upon moving to the next trace.voiditEventPrevious()The within-trace iterator, which is automatically reset upon moving to the next trace.voiditEventRemove()Remove the current event.voiditEventReset()Reset the event iterator.voiditEventResetEnd()voiditEventSetActivityIndex(int activity)The within-trace iterator, which is automatically reset upon moving to the next trace.voiditEventSetLifeCycleTransition(org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier.Transition transition)Set the transition of the current event.intitEventSplit()see IMLog.splitTrace()voidnextFast()Move the iterator to the next trace without constructing a trace object.voidremove()Remove the current trace.voidreset()
-
-
-
Method Detail
-
getTraceIndex
int getTraceIndex()
Get the current trace index.- Returns:
-
nextFast
void nextFast()
Move the iterator to the next trace without constructing a trace object.
-
itEventHasNext
boolean itEventHasNext()
The within-trace iterator, which is automatically reset upon moving to the next trace.- Returns:
- whether there is another event.
-
itEventNext
void itEventNext()
The within-trace iterator, which is automatically reset upon moving to the next trace.
-
itEventHasPrevious
boolean itEventHasPrevious()
The within-trace iterator, which is automatically reset upon moving to the next trace.- Returns:
- whether there is an event before this one.
-
itEventPrevious
void itEventPrevious()
The within-trace iterator, which is automatically reset upon moving to the next trace.
-
itEventGetActivityIndex
int itEventGetActivityIndex()
The within-trace iterator, which is automatically reset upon moving to the next trace.- Returns:
- the current activity index.
-
itEventSetActivityIndex
void itEventSetActivityIndex(int activity)
The within-trace iterator, which is automatically reset upon moving to the next trace. Sets the activity of the current event to the given value. The caller is responsible to also add the new value to the list of activities.- Parameters:
activity-
-
itEventGetLifeCycleTransition
org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier.Transition itEventGetLifeCycleTransition()
The within-trace iterator, which is automatically reset upon moving to the next trace.- Returns:
- the current life cycle transition index.
-
isEmpty
boolean isEmpty()
- Returns:
- whether the current trace is empty.
-
remove
void remove()
Remove the current trace. Call next() or nextFast() afterwards to continue.- Specified by:
removein interfacejava.util.Iterator<IMTrace>
-
itEventRemove
void itEventRemove()
Remove the current event. Call itEventNext() afterwards to continue.
-
itEventSetLifeCycleTransition
void itEventSetLifeCycleTransition(org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier.Transition transition)
Set the transition of the current event.- Parameters:
transition-
-
itEventSplit
int itEventSplit()
see IMLog.splitTrace()- Returns:
- the index of the inserted trace.
-
itEventReset
void itEventReset()
Reset the event iterator.
-
clone
IMTraceIterator clone() throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
reset
void reset()
-
itEventResetEnd
void itEventResetEnd()
-
itEventGetEventIndex
int itEventGetEventIndex()
-
-