Interface IMTraceIterator

  • All Superinterfaces:
    java.lang.Cloneable, java.util.Iterator<IMTrace>

    public interface IMTraceIterator
    extends java.util.Iterator<IMTrace>, java.lang.Cloneable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IMTraceIterator clone()  
      int getTraceIndex()
      Get the current trace index.
      boolean isEmpty()  
      int itEventGetActivityIndex()
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      int itEventGetEventIndex()  
      org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier.Transition itEventGetLifeCycleTransition()
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      boolean itEventHasNext()
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      boolean itEventHasPrevious()
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      void itEventNext()
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      void itEventPrevious()
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      void itEventRemove()
      Remove the current event.
      void itEventReset()
      Reset the event iterator.
      void itEventResetEnd()  
      void itEventSetActivityIndex​(int activity)
      The within-trace iterator, which is automatically reset upon moving to the next trace.
      void itEventSetLifeCycleTransition​(org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier.Transition transition)
      Set the transition of the current event.
      int itEventSplit()
      see IMLog.splitTrace()
      void nextFast()
      Move the iterator to the next trace without constructing a trace object.
      void remove()
      Remove the current trace.
      void reset()  
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next
    • 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:
        remove in interface java.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()