public class NBestAlignmentsTreeAlg extends AllOptAlignmentsTreeAlg implements NBestAlignmentsAlg
AllOptAlignmentsTreeAlg.MatchInstancesRes
classifier, finalMarkings, initMarking, mapEvClass2Cost, mapTrans2Cost, MAPTRANSTOCOST, MAPXEVENTCLASSTOCOST, MAXEXPLOREDINSTANCES, maxNumOfStates, queuedStates, traversedArcs, visitedStates
Constructor and Description |
---|
NBestAlignmentsTreeAlg() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHTMLInfo()
HTML explanation of the algorithm
|
protected int |
getMinBoundMoveModel(nl.tue.astar.AStarThread.Canceller canceller,
org.deckfour.xes.model.XLog log,
org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
TransEvClassMapping mapping,
org.deckfour.xes.classification.XEventClasses classes,
int delta,
int threads,
nl.tue.astar.impl.memefficient.MemoryEfficientAStarAlgorithm<PHead,PNaiveTail> aStar)
get cost if an empty trace is replayed on a model
|
protected AllSyncReplayResult |
recordToResult(AllOptAlignmentsTreeDelegate d,
org.deckfour.xes.model.XTrace trace,
nl.tue.astar.Trace filteredTrace,
java.util.Set<PRecord> records,
int traceIndex,
int states,
int queuedStates,
boolean isReliable,
long milliseconds,
double minCostMoveModel) |
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
|
protected boolean |
shouldConsiderResult(AllOptAlignmentsTreeAlg.MatchInstancesRes result,
AllOptAlignmentsTreeThread<PHead,nl.tue.astar.impl.DijkstraTail> thread,
PRecord record,
int counter,
org.deckfour.xes.model.XLog log,
int minCostMoveModel) |
java.lang.String |
toString() |
addReplayResults, getDelegate
compareEventClassList, getLinearTrace, getPartiallyOrderedTrace
public java.lang.String toString()
toString
in interface IPNMatchInstancesLogReplayAlgorithm
toString
in class AllOptAlignmentsTreeAlg
public java.lang.String getHTMLInfo()
IPNMatchInstancesLogReplayAlgorithm
getHTMLInfo
in interface IPNMatchInstancesLogReplayAlgorithm
getHTMLInfo
in class AllOptAlignmentsTreeAlg
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
replayLog
in interface IPNMatchInstancesLogReplayAlgorithm
replayLog
in class AllOptAlignmentsTreeAlg
nl.tue.astar.AStarException
protected AllSyncReplayResult recordToResult(AllOptAlignmentsTreeDelegate d, org.deckfour.xes.model.XTrace trace, nl.tue.astar.Trace filteredTrace, java.util.Set<PRecord> records, int traceIndex, int states, int queuedStates, boolean isReliable, long milliseconds, double minCostMoveModel)
recordToResult
in class AllOptAlignmentsTreeAlg
protected int getMinBoundMoveModel(nl.tue.astar.AStarThread.Canceller canceller, org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, TransEvClassMapping mapping, org.deckfour.xes.classification.XEventClasses classes, int delta, int threads, nl.tue.astar.impl.memefficient.MemoryEfficientAStarAlgorithm<PHead,PNaiveTail> aStar) throws nl.tue.astar.AStarException
context
- net
- mapping
- classes
- delta
- threads
- aStar
- java.lang.Exception
nl.tue.astar.AStarException
protected boolean shouldConsiderResult(AllOptAlignmentsTreeAlg.MatchInstancesRes result, AllOptAlignmentsTreeThread<PHead,nl.tue.astar.impl.DijkstraTail> thread, PRecord record, int counter, org.deckfour.xes.model.XLog log, int minCostMoveModel)