Class IMLogImplPartialTraces

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

    public class IMLogImplPartialTraces
    extends IMLogImpl
    This log class keeps track of extra information, being whether the start and end of the trace are reliable. Used for partial trace mining.
    Author:
    sander
    • Constructor Detail

      • IMLogImplPartialTraces

        public IMLogImplPartialTraces​(org.deckfour.xes.model.XLog xLog,
                                      org.deckfour.xes.classification.XEventClassifier classifier,
                                      org.processmining.plugins.InductiveMiner.mining.logs.XLifeCycleClassifier lifeCycleClassifier)
    • Method Detail

      • isStartReliable

        public boolean isStartReliable​(int traceIndex)
      • setStartReliable

        public void setStartReliable​(int traceIndex,
                                     boolean b)
      • isEndReliable

        public boolean isEndReliable​(int traceIndex)
      • setEndReliable

        public void setEndReliable​(int traceIndex,
                                   boolean b)
      • splitTrace

        public int splitTrace​(int traceIndex,
                              int eventIndex)
        Description copied from interface: IMLog
        Split a trace: add a new trace at the start of the log, containing all events up till (excluding) eventIndex. Furthermore, remove all events up to (excluding) eventIndex from the trace at traceIndex.
        Specified by:
        splitTrace in interface IMLog
        Overrides:
        splitTrace in class IMLogImpl
        Returns:
        the index of the inserted trace
      • clone

        public IMLogImplPartialTraces clone()
        Specified by:
        clone in interface IMLog
        Overrides:
        clone in class IMLogImpl
        Returns:
        a completely independent copy. This is the only method that should be used in log splitting, such that extra information can be preserved by the log implementation.
      • toString

        protected void toString​(java.lang.StringBuilder result,
                                int traceIndex)
        Overrides:
        toString in class IMLogImpl