Class TrafficLightConfAlg


  • public class TrafficLightConfAlg
    extends java.lang.Object
    • Constructor Detail

      • TrafficLightConfAlg

        public TrafficLightConfAlg()
    • Method Detail

      • calculateTrafficLightConformance

        public java.util.Optional<TLConfDiagnosticsBundle> calculateTrafficLightConformance​(java.util.Optional<org.processmining.framework.plugin.PluginContext> context,
                                                                                            org.processmining.models.graphbased.directed.petrinet.Petrinet pn,
                                                                                            org.deckfour.xes.model.XLog log,
                                                                                            TLConfParameters tlConfParam,
                                                                                            boolean createRoundConnections)
        Run the 2-phase traffic light conformance score computation.
        Parameters:
        context - PluginContext used by the replayer to create connection and display progress. Can be empty if IPNReplayParameter.setCreateConn(boolean) and IPNReplayParameter.setGUIMode(boolean) were set to false.
        pn - Petri net
        log - Event log
        param - Replay parameter (including move costs)
        transEvMapping - Transition to event class mapping
        createRoundConnections - Create connectionss for the Petri net replay results in each round (requires a Plugin context)
      • calculateTrafficLightConformanceIndex

        public java.util.Optional<TLConfIndexDiagnosticsBundle> calculateTrafficLightConformanceIndex​(java.util.Optional<org.processmining.framework.plugin.PluginContext> context,
                                                                                                      org.processmining.models.graphbased.directed.petrinet.Petrinet pn,
                                                                                                      org.deckfour.xes.model.XLog log,
                                                                                                      org.processmining.plugins.petrinet.replayer.algorithms.costbasedcomplete.CostBasedCompleteParam param,
                                                                                                      org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping transEvMapping,
                                                                                                      boolean createRoundConnections)
        Run the 2-phase traffic light conformance score computation and return the index based classification per trace variant.
        Parameters:
        context - PluginContext used by the replayer to create connection and display progress. Can be empty if IPNReplayParameter.setCreateConn(boolean) and IPNReplayParameter.setGUIMode(boolean) were set to false.
        pn - Petri net
        log - Event log
        param - Replay parameter (including move costs)
        transEvMapping - Transition to event class mapping
        createRoundConnections - Create connectionss for the Petri net replay results in each round (requires a Plugin context)