Class ETMAlignment


  • public class ETMAlignment
    extends java.lang.Object
    Align a log with the ETM replayer, but do not compute precision.
    Author:
    sleemans
    • Field Detail

      • numberOfThreads

        public static final int numberOfThreads
    • Constructor Detail

      • ETMAlignment

        public ETMAlignment​(org.processmining.processtree.ProcessTree tree,
                            org.deckfour.xes.model.XLog log,
                            IvMEventClasses eventClasses,
                            ETMAlignmentCallback callback,
                            org.processmining.framework.plugin.ProMCanceller canceller2)
        Make sure that all event classes of log AND MODEL are in eventclasses. (use the static function addAllLeavesAsEventClasses to achieve that).
        Parameters:
        tree -
        log -
        eventClasses -
        callback -
        canceller2 -
    • Method Detail

      • alignLog

        public void alignLog()
                      throws java.lang.Exception
        Align a log.
        Parameters:
        model -
        log -
        eventClasses -
        activity2Cost -
        Throws:
        java.lang.Exception
      • getNode2cost

        public static int[] getNode2cost​(org.processmining.plugins.etm.model.narytree.NAryTree nTree)
      • createActivity2cost

        public static java.util.Map<org.deckfour.xes.classification.XEventClass,​java.lang.Integer> createActivity2cost​(IvMEventClasses eventClasses)
      • addAllLeavesAsEventClasses

        public static void addAllLeavesAsEventClasses​(IvMEventClasses eventClasses,
                                                      org.processmining.processtree.ProcessTree tree)