org.processmining.plugins.flex.replayer.algorithms
Class AStarFlexLogReplayAlgorithm

java.lang.Object
  extended by org.processmining.plugins.flex.replayer.algorithms.AStarFlexLogReplayAlgorithm
All Implemented Interfaces:
IFlexLogReplayAlgorithm

public class AStarFlexLogReplayAlgorithm
extends java.lang.Object
implements IFlexLogReplayAlgorithm

Author:
aadrians

Field Summary
 
Fields inherited from interface org.processmining.plugins.flex.replayer.algorithms.IFlexLogReplayAlgorithm
ANALYSISTYPE, CODEC, FLEXREPRESULT, INVERTPREFIXANALYSIS, OUTPUTFILE, PREFIXANALYSIS, REMOVEEVENTANALYSIS, USEMAXESTIMATED, USEMAXNUMOFSTATES
 
Constructor Summary
AStarFlexLogReplayAlgorithm()
           
 
Method Summary
 java.lang.Object[] replayLog(org.processmining.framework.plugin.PluginContext context, Flex flex, StartTaskNodesSet startTaskNodesSet, org.deckfour.xes.model.XLog log, java.util.Collection<org.processmining.framework.util.Pair<FlexNode,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, Flex flex, StartTaskNodesSet startTaskNodesSet, org.deckfour.xes.model.XLog log, java.util.Collection<org.processmining.framework.util.Pair<FlexNode,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, Flex flex, StartTaskNodesSet startTaskNodesSet, 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<FlexNode,org.deckfour.xes.classification.XEventClass>> mapping, java.lang.Object[] parameters)
          Method to replay a selected trace on flexible model.
 
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.flex.replayer.algorithms.IFlexLogReplayAlgorithm
toString
 

Constructor Detail

AStarFlexLogReplayAlgorithm

public AStarFlexLogReplayAlgorithm()
Method Detail

replayLog

public java.lang.Object[] replayLog(org.processmining.framework.plugin.PluginContext context,
                                    Flex flex,
                                    StartTaskNodesSet startTaskNodesSet,
                                    org.deckfour.xes.model.XLog log,
                                    java.util.Collection<org.processmining.framework.util.Pair<FlexNode,org.deckfour.xes.classification.XEventClass>> mapping,
                                    java.lang.Object[] parameters)
Description copied from interface: IFlexLogReplayAlgorithm
Method to replay a whole log and check for its conformance

Specified by:
replayLog in interface IFlexLogReplayAlgorithm
Returns:

replayLogForAnalysis

public java.lang.String replayLogForAnalysis(org.processmining.framework.plugin.PluginContext context,
                                             Flex flex,
                                             StartTaskNodesSet startTaskNodesSet,
                                             org.deckfour.xes.model.XLog log,
                                             java.util.Collection<org.processmining.framework.util.Pair<FlexNode,org.deckfour.xes.classification.XEventClass>> mapping,
                                             java.lang.Object[] parameters)
Description copied from interface: IFlexLogReplayAlgorithm
Method to replay a whole log and check for time needed in order to finish replay

Specified by:
replayLogForAnalysis in interface IFlexLogReplayAlgorithm
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,
                                     Flex flex,
                                     StartTaskNodesSet startTaskNodesSet,
                                     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<FlexNode,org.deckfour.xes.classification.XEventClass>> mapping,
                                     java.lang.Object[] parameters)
Description copied from interface: IFlexLogReplayAlgorithm
Method to replay a selected trace on flexible model. This method is used to see instances that are explored to get the best replay result given a metrics

Specified by:
replayXTrace in interface IFlexLogReplayAlgorithm
Returns: