public class NBestOptAlignmentsNoModelMoveGraphSamplingAlg extends AllOptAlignmentsGraphSamplingAlg implements org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.express.NBestAlignmentsAlg
AbstractAllOptAlignmentsGraphAlg.MatchInstancesGraphRes
Modifier and Type | Field and Description |
---|---|
protected int |
expectedAlignments |
threads
classifier, finalMarkings, initMarking, mapEvClass2Cost, mapTrans2Cost, MAPTRANSTOCOST, MAPXEVENTCLASSTOCOST, MAXEXPLOREDINSTANCES, maxNumOfStates, queuedStates, traversedArcs, visitedStates
Constructor and Description |
---|
NBestOptAlignmentsNoModelMoveGraphSamplingAlg() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHTMLInfo()
HTML explanation of the algorithm
|
protected org.processmining.plugins.replayer.replayresult.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<org.processmining.plugins.petrinet.replayresult.StepTypes> suffixStepTypes,
org.processmining.plugins.replayer.replayresult.AllSyncReplayResult prevResult,
java.util.Map<nl.tue.astar.Record,java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix)
This method needs to be overridden because there is no need to compute the number of all optimal alignments
as it is computed in the parent class
|
org.processmining.plugins.petrinet.replayresult.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,
org.processmining.plugins.connectionfactories.logpetrinet.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() |
constructResult, countOptimalAlignments, getDelegate, getThread
addReplayResults, extractAllHistory
compareEventClassList, getLinearTrace, getPartiallyOrderedTrace
public NBestOptAlignmentsNoModelMoveGraphSamplingAlg()
public java.lang.String toString()
toString
in interface org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
toString
in class AllOptAlignmentsGraphSamplingAlg
public java.lang.String getHTMLInfo()
org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
getHTMLInfo
in interface org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
getHTMLInfo
in class AllOptAlignmentsGraphSamplingAlg
public org.processmining.plugins.petrinet.replayresult.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, org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping, java.lang.Object[] parameters) throws nl.tue.astar.AStarException
org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
replayLog
in interface org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
replayLog
in class AllOptAlignmentsGraphSamplingAlg
nl.tue.astar.AStarException
protected org.processmining.plugins.replayer.replayresult.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<org.processmining.plugins.petrinet.replayresult.StepTypes> suffixStepTypes, org.processmining.plugins.replayer.replayresult.AllSyncReplayResult prevResult, java.util.Map<nl.tue.astar.Record,java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix)
recordToResult
in class AllOptAlignmentsGraphSamplingAlg