Class TrafficLightConfAlg
- java.lang.Object
-
- org.processmining.trafficlightcc.algorithms.TrafficLightConfAlg
-
public class TrafficLightConfAlg extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TrafficLightConfAlg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<TLVariantReplayResult>bundleVariantReplayResults(POReplayResultContainerR1 resContainer1, POReplayResultContainerR2 resContainer2)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.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.PerformanceLoggergetPerformanceLogger()
-
-
-
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 ifIPNReplayParameter.setCreateConn(boolean)andIPNReplayParameter.setGUIMode(boolean)were set to false.pn- Petri netlog- Event logparam- Replay parameter (including move costs)transEvMapping- Transition to event class mappingcreateRoundConnections- 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 ifIPNReplayParameter.setCreateConn(boolean)andIPNReplayParameter.setGUIMode(boolean)were set to false.pn- Petri netlog- Event logparam- Replay parameter (including move costs)transEvMapping- Transition to event class mappingcreateRoundConnections- Create connectionss for the Petri net replay results in each round (requires a Plugin context)
-
bundleVariantReplayResults
public java.util.ArrayList<TLVariantReplayResult> bundleVariantReplayResults(POReplayResultContainerR1 resContainer1, POReplayResultContainerR2 resContainer2)
-
getPerformanceLogger
public PerformanceLogger getPerformanceLogger()
-
-