Class FragmentWaitTimeMeasurement


  • public class FragmentWaitTimeMeasurement
    extends Measurement
    A measurement that is similar to the TimeInFragment measurement, but considers a fragment to be finished once the exit place is marked, or, if the exit node is a transition that has an ingoing arc from outside the fragment, once all places that activate it are marked in the fragment.
    Author:
    Morit
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MeasurementValue evaluate​(org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPSTNode fragment, org.processmining.plugins.replayer.replayresult.SyncReplayResult alignment, org.deckfour.xes.model.XTrace trace, org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPST rpst, org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)
      For the most part, this function is identical to the one in the TimeInFragmentMeasuremet.
      java.util.ArrayList<MeasurementValue> getFragmentMeasurements​(org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPSTNode fragment, org.processmining.plugins.petrinet.replayresult.PNRepResult alignments, org.deckfour.xes.model.XLog log, org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPST rpst, DecompositionParameters parameters, org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)  
      java.lang.String getName()
      Returns the name of the measurement for use in the UI
      • Methods inherited from class java.lang.Object

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

      • FragmentWaitTimeMeasurement

        public FragmentWaitTimeMeasurement()
    • Method Detail

      • evaluate

        public MeasurementValue evaluate​(org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPSTNode fragment,
                                         org.processmining.plugins.replayer.replayresult.SyncReplayResult alignment,
                                         org.deckfour.xes.model.XTrace trace,
                                         org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPST rpst,
                                         org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)
        For the most part, this function is identical to the one in the TimeInFragmentMeasuremet. The only thing that changes is the condition of fragment exit and the assigning of the exit timestamp.
        Specified by:
        evaluate in class Measurement
        Returns:
        MeasurementValue assigned by the measurement
      • getFragmentMeasurements

        public java.util.ArrayList<MeasurementValue> getFragmentMeasurements​(org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPSTNode fragment,
                                                                             org.processmining.plugins.petrinet.replayresult.PNRepResult alignments,
                                                                             org.deckfour.xes.model.XLog log,
                                                                             org.processmining.acceptingpetrinetdecomposer.models.rpst.PetriNetRPST rpst,
                                                                             DecompositionParameters parameters,
                                                                             org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)
        Overrides:
        getFragmentMeasurements in class Measurement
        Returns:
      • getName

        public java.lang.String getName()
        Description copied from class: Measurement
        Returns the name of the measurement for use in the UI
        Specified by:
        getName in class Measurement
        Returns:
        String name