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

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

public class ExtendedCostBasedAStarLogReplayAlgorithm
extends java.lang.Object
implements IFlexLogReplayAlgorithm

Author:
aadrians

Field Summary
static java.awt.Color GRAY
           
static java.awt.Color GREEN
           
protected static int ISRELIABLE
           
static java.awt.Color LIGHTGRAY
           
static java.awt.Color LIGHTGREEN
           
static java.awt.Color LIGHTPURPLE
           
static java.awt.Color LIGHTRED
           
static java.awt.Color LIGHTYELLOW
           
protected static int LISTOFPAIR
           
static int MAXNUMOFSTATES
           
static java.awt.Color ORANGE
           
static java.awt.Color PURPLE
           
static java.awt.Color RED
           
static java.awt.Color YELLOW
           
 
Fields inherited from interface org.processmining.plugins.flex.replayer.algorithms.IFlexLogReplayAlgorithm
ANALYSISTYPE, CODEC, FLEXREPRESULT, INVERTPREFIXANALYSIS, OUTPUTFILE, PREFIXANALYSIS, REMOVEEVENTANALYSIS, USEMAXESTIMATED, USEMAXNUMOFSTATES
 
Constructor Summary
ExtendedCostBasedAStarLogReplayAlgorithm()
           
 
Method Summary
 FlexRepResult replayLog(org.processmining.framework.plugin.PluginContext context, Flex flex, FlexCodec codec, 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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LISTOFPAIR

protected static final int LISTOFPAIR
See Also:
Constant Field Values

ISRELIABLE

protected static final int ISRELIABLE
See Also:
Constant Field Values

ORANGE

public static java.awt.Color ORANGE

RED

public static java.awt.Color RED

GREEN

public static java.awt.Color GREEN

GRAY

public static java.awt.Color GRAY

YELLOW

public static java.awt.Color YELLOW

PURPLE

public static java.awt.Color PURPLE

LIGHTRED

public static java.awt.Color LIGHTRED

LIGHTGREEN

public static java.awt.Color LIGHTGREEN

LIGHTYELLOW

public static java.awt.Color LIGHTYELLOW

LIGHTGRAY

public static java.awt.Color LIGHTGRAY

LIGHTPURPLE

public static java.awt.Color LIGHTPURPLE

MAXNUMOFSTATES

public static int MAXNUMOFSTATES
Constructor Detail

ExtendedCostBasedAStarLogReplayAlgorithm

public ExtendedCostBasedAStarLogReplayAlgorithm()
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface IFlexLogReplayAlgorithm
Overrides:
toString in class java.lang.Object

replayLog

public FlexRepResult replayLog(org.processmining.framework.plugin.PluginContext context,
                               Flex flex,
                               FlexCodec codec,
                               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: