Class IMLogStartEndComplete

  • All Implemented Interfaces:
    java.lang.Iterable<IMTrace>, IMLog

    public class IMLogStartEndComplete
    extends IMLogImpl
    • Constructor Detail

      • IMLogStartEndComplete

        public IMLogStartEndComplete​(org.deckfour.xes.model.XLog log,
                                     org.deckfour.xes.classification.XEventClassifier activityClassifier,
                                     XLifeCycleClassifier lifeCycleClassifier)
    • Method Detail

      • fromIMLog

        public static IMLog fromIMLog​(IMLog log)
      • clone

        public IMLogStartEndComplete clone()
        Description copied from interface: IMLog
        Clone this IMLog. The new one might be based on the same XLog as the old one.
        Specified by:
        clone in interface IMLog
        Overrides:
        clone in class IMLogImpl
        Returns:
      • copyTrace

        public IMTrace copyTrace​(IMTrace trace,
                                 java.util.BitSet traceOutEvents)
        Description copied from interface: IMLog
        Copy a trace and return the copy.
        Specified by:
        copyTrace in interface IMLog
        Overrides:
        copyTrace in class IMLogImpl
        traceOutEvents - A bitset showing for each event of the underlying XTrace whether this event is still included.
        Returns:
      • iterator

        public java.util.Iterator<IMTrace> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<IMTrace>
        Overrides:
        iterator in class IMLogImpl
      • toXLog

        public org.deckfour.xes.model.XLog toXLog()
        Specified by:
        toXLog in interface IMLog
        Overrides:
        toXLog in class IMLogImpl
      • decoupleFromXLog

        public IMLogImpl decoupleFromXLog()
        Description copied from class: IMLogImpl
        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.
        Specified by:
        decoupleFromXLog in interface IMLog
        Overrides:
        decoupleFromXLog in class IMLogImpl
        Returns:
        the newly created IMLog, which has no connection anymore to the original XLog.
      • isStartComplete

        public boolean isStartComplete​(int traceIndex)
      • setStartComplete

        public void setStartComplete​(int traceIndex,
                                     boolean isStartComplete)
      • isEndComplete

        public boolean isEndComplete​(int traceIndex)
      • setEndComplete

        public void setEndComplete​(int traceIndex,
                                   boolean isEndComplete)
      • getBooleanAttrFromTrace

        public static java.lang.Boolean getBooleanAttrFromTrace​(org.deckfour.xes.model.XTrace trace,
                                                                java.lang.String attrKey)
      • removeFromBitSet

        public static void removeFromBitSet​(java.util.BitSet set,
                                            int index)