org.processmining.plugins.petrinet.replayer.algorithms
Class EffCostBasedPNReplayAlgorithm

java.lang.Object
  extended by org.processmining.plugins.petrinet.replayer.algorithms.EffCostBasedPNReplayAlgorithm
All Implemented Interfaces:
IPNLogReplayAlgorithm

public class EffCostBasedPNReplayAlgorithm
extends java.lang.Object
implements IPNLogReplayAlgorithm

Since:
Dec 7, 2010
Author:
aadrians

Field Summary
 
Fields inherited from interface org.processmining.plugins.petrinet.replayer.algorithms.IPNLogReplayAlgorithm
ANALYSISTYPE, CODEC, CONFORMANCERESULT, INVERTPREFIXANALYSIS, OUTPUTFILE, PNREPRESULT, PREFIXANALYSIS, REMOVEEVENTANALYSIS, USEMAXESTIMATED, USEMAXNUMOFSTATES
 
Constructor Summary
EffCostBasedPNReplayAlgorithm()
           
 
Method Summary
 java.lang.Object[] replayLog(org.processmining.framework.plugin.PluginContext context, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, org.processmining.models.semantics.petrinet.Marking initMarking, org.deckfour.xes.model.XLog log, java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> mapping, java.lang.Object[] parameters)
          Method to replay a whole log and check for its conformance
 java.lang.String replayLogForAnalysis(org.processmining.framework.plugin.PluginContext context, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, org.processmining.models.semantics.petrinet.Marking initMarking, org.deckfour.xes.model.XLog log, java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> mapping, java.lang.Object[] parameters)
          Method to replay a whole log and check for time needed in order to finish replay
 CaseReplayResult replayXTrace(org.processmining.framework.plugin.PluginContext context, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, org.processmining.models.semantics.petrinet.Marking initMarking, org.deckfour.xes.model.XTrace trace, org.deckfour.xes.info.XLogInfo logInfo, org.deckfour.xes.classification.XEventClasses classes, java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> mapping, java.lang.Object[] parameters)
          Method to replay a selected trace on petri net.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.processmining.plugins.petrinet.replayer.algorithms.IPNLogReplayAlgorithm
toString
 

Constructor Detail

EffCostBasedPNReplayAlgorithm

public EffCostBasedPNReplayAlgorithm()
Method Detail

replayLog

public java.lang.Object[] replayLog(org.processmining.framework.plugin.PluginContext context,
                                    org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
                                    org.processmining.models.semantics.petrinet.Marking initMarking,
                                    org.deckfour.xes.model.XLog log,
                                    java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> mapping,
                                    java.lang.Object[] parameters)
Description copied from interface: IPNLogReplayAlgorithm
Method to replay a whole log and check for its conformance

Specified by:
replayLog in interface IPNLogReplayAlgorithm
Returns:

replayLogForAnalysis

public java.lang.String replayLogForAnalysis(org.processmining.framework.plugin.PluginContext context,
                                             org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
                                             org.processmining.models.semantics.petrinet.Marking initMarking,
                                             org.deckfour.xes.model.XLog log,
                                             java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> mapping,
                                             java.lang.Object[] parameters)
Description copied from interface: IPNLogReplayAlgorithm
Method to replay a whole log and check for time needed in order to finish replay

Specified by:
replayLogForAnalysis in interface IPNLogReplayAlgorithm
parameters - divided into: (1) maximum number of states explored, (2) limit of maximum possible states to decided whether a trace is replayed/not, (3) analysis type: using gradually incremented prefix (PREFIXANALYSIS), removal of one event and replay the rest (REMOVEEVENTANALYSIS), and inverting replay from full trace to prefix (INVERTPREFIXANALYSIS).
Returns:

replayXTrace

public CaseReplayResult replayXTrace(org.processmining.framework.plugin.PluginContext context,
                                     org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
                                     org.processmining.models.semantics.petrinet.Marking initMarking,
                                     org.deckfour.xes.model.XTrace trace,
                                     org.deckfour.xes.info.XLogInfo logInfo,
                                     org.deckfour.xes.classification.XEventClasses classes,
                                     java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> mapping,
                                     java.lang.Object[] parameters)
Description copied from interface: IPNLogReplayAlgorithm
Method to replay a selected trace on petri net. This method is used to see instances that are explored to get the best replay result given a metrics

Specified by:
replayXTrace in interface IPNLogReplayAlgorithm
Returns: