Class SimpleAlignment


  • public class SimpleAlignment
    extends java.lang.Object
    Simplified explicit representation of an alignment for model repair.
    Author:
    dfahland
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleAlignment​(Move[] moves, int frequency)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<SimpleAlignment> getAlignment​(org.processmining.plugins.petrinet.replayresult.PNRepResult result, java.util.Map<org.processmining.models.graphbased.directed.petrinet.PetrinetNode,​hub.top.petrinet.Node> nodeMap, org.deckfour.xes.classification.XEventClassifier ecl)  
      int getFrequency()  
      Move[] getMoves()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleAlignment

        public SimpleAlignment​(Move[] moves,
                               int frequency)
    • Method Detail

      • getMoves

        public Move[] getMoves()
      • getFrequency

        public int getFrequency()
      • getAlignment

        public static java.util.List<SimpleAlignment> getAlignment​(org.processmining.plugins.petrinet.replayresult.PNRepResult result,
                                                                   java.util.Map<org.processmining.models.graphbased.directed.petrinet.PetrinetNode,​hub.top.petrinet.Node> nodeMap,
                                                                   org.deckfour.xes.classification.XEventClassifier ecl)
        Parameters:
        result - alignment to be translated
        nodeMap - map from Prom's Petri net used for the alignment to the Petri net for the simple alignment
        ecl - the event classifier used for the alignment
        onlyUniqueAlignments - if true returns for each unique trace variant one alignment, if false returns as many duplicate sequences as there are in the original log underlying the alignment
        Returns:
        representation of alignment as list of Move arrays