public class AllOptAlignmentsGraphSamplingAlg extends AbstractAllOptAlignmentsGraphAlg<PDelegate,nl.tue.astar.impl.DijkstraTail>
AbstractAllOptAlignmentsGraphAlg.MatchInstancesGraphRes
threads
classifier, finalMarkings, initMarking, mapEvClass2Cost, mapTrans2Cost, MAPTRANSTOCOST, MAPXEVENTCLASSTOCOST, MAXEXPLOREDINSTANCES, maxNumOfStates, queuedStates, traversedArcs, visitedStates
Constructor and Description |
---|
AllOptAlignmentsGraphSamplingAlg() |
Modifier and Type | Method and Description |
---|---|
protected double |
constructResult(PRecord r,
PDelegate d,
org.deckfour.xes.model.XTrace trace,
nl.tue.astar.Trace filteredTrace,
boolean isFirst,
java.util.List<java.util.List<java.lang.Object>> lstNodeInstanceLst,
java.util.List<java.util.List<StepTypes>> lstStepTypesLst) |
protected int |
countOptimalAlignments(nl.tue.astar.Record r,
java.util.Map<nl.tue.astar.Record,java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix) |
protected PDelegate |
getDelegate(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
TransEvClassMapping map,
java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost,
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost,
int delta,
boolean allMarkingsAreFinal,
org.processmining.models.semantics.petrinet.Marking[] finalMarkings) |
java.lang.String |
getHTMLInfo()
HTML explanation of the algorithm
|
protected AllSamplingOptAlignmentsGraphThread<PHead,nl.tue.astar.impl.DijkstraTail> |
getThread(nl.tue.astar.impl.memefficient.MemoryEfficientAStarAlgorithm<PHead,nl.tue.astar.impl.DijkstraTail> aStar,
PHead initial,
nl.tue.astar.Trace trace,
int maxNumOfStates)
Since we only need samples, sorting may take place
|
protected AllSyncReplayResult |
recordToResult(PDelegate d,
org.deckfour.xes.model.XTrace trace,
nl.tue.astar.Trace filteredTrace,
java.util.Collection<PRecord> records,
int traceIndex,
int states,
int queuedStates,
boolean isReliable,
long milliseconds,
java.util.List<java.lang.Object> suffixNodeInstance,
java.util.List<StepTypes> suffixStepTypes,
AllSyncReplayResult prevResult,
java.util.Map<nl.tue.astar.Record,java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix)
Recursive call that investigate the same map
|
PNMatchInstancesRepResult |
replayLog(org.processmining.framework.plugin.PluginContext context,
org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
org.processmining.models.semantics.petrinet.Marking initMarking,
org.processmining.models.semantics.petrinet.Marking finalMarking,
org.deckfour.xes.model.XLog log,
TransEvClassMapping mapping,
java.lang.Object[] parameters)
Method to replay a whole log on a model and return all best matching
instance between each trace and the model
Assumption: all markings are given, no need to check for connection to
the original net
|
java.lang.String |
toString() |
addReplayResults, extractAllHistory
compareEventClassList, getLinearTrace, getPartiallyOrderedTrace
public java.lang.String toString()
toString
in interface IPNMatchInstancesLogReplayAlgorithm
toString
in class java.lang.Object
public java.lang.String getHTMLInfo()
IPNMatchInstancesLogReplayAlgorithm
protected AllSamplingOptAlignmentsGraphThread<PHead,nl.tue.astar.impl.DijkstraTail> getThread(nl.tue.astar.impl.memefficient.MemoryEfficientAStarAlgorithm<PHead,nl.tue.astar.impl.DijkstraTail> aStar, PHead initial, nl.tue.astar.Trace trace, int maxNumOfStates) throws nl.tue.astar.AStarException
nl.tue.astar.AStarException
public PNMatchInstancesRepResult replayLog(org.processmining.framework.plugin.PluginContext context, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, org.processmining.models.semantics.petrinet.Marking initMarking, org.processmining.models.semantics.petrinet.Marking finalMarking, org.deckfour.xes.model.XLog log, TransEvClassMapping mapping, java.lang.Object[] parameters) throws nl.tue.astar.AStarException
IPNMatchInstancesLogReplayAlgorithm
nl.tue.astar.AStarException
protected AllSyncReplayResult recordToResult(PDelegate d, org.deckfour.xes.model.XTrace trace, nl.tue.astar.Trace filteredTrace, java.util.Collection<PRecord> records, int traceIndex, int states, int queuedStates, boolean isReliable, long milliseconds, java.util.List<java.lang.Object> suffixNodeInstance, java.util.List<StepTypes> suffixStepTypes, AllSyncReplayResult prevResult, java.util.Map<nl.tue.astar.Record,java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix)
recordToResult
in class AbstractAllOptAlignmentsGraphAlg<PDelegate,nl.tue.astar.impl.DijkstraTail>
d
- trace
- filteredTrace
- records
- traceIndex
- states
- queuedStates
- isReliable
- milliseconds
- suffixNodeInstance
- suffixStepTypes
- prevResult
- mapToStatesWSameSuffix
- protected double constructResult(PRecord r, PDelegate d, org.deckfour.xes.model.XTrace trace, nl.tue.astar.Trace filteredTrace, boolean isFirst, java.util.List<java.util.List<java.lang.Object>> lstNodeInstanceLst, java.util.List<java.util.List<StepTypes>> lstStepTypesLst)
protected int countOptimalAlignments(nl.tue.astar.Record r, java.util.Map<nl.tue.astar.Record,java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix)
protected PDelegate getDelegate(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, org.deckfour.xes.model.XLog log, org.deckfour.xes.classification.XEventClasses classes, TransEvClassMapping map, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost, java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost, int delta, boolean allMarkingsAreFinal, org.processmining.models.semantics.petrinet.Marking[] finalMarkings)