public class NBestOptAlignmentsGraphSamplingAlg extends AllOptAlignmentsGraphSamplingAlg implements 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 |
---|
NBestOptAlignmentsGraphSamplingAlg() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHTMLInfo()
HTML explanation of the algorithm
|
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)
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
|
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() |
constructResult, countOptimalAlignments, getDelegate, getThread
addReplayResults, extractAllHistory
compareEventClassList, getLinearTrace, getPartiallyOrderedTrace
public java.lang.String toString()
toString
in interface IPNMatchInstancesLogReplayAlgorithm
toString
in class AllOptAlignmentsGraphSamplingAlg
public java.lang.String getHTMLInfo()
IPNMatchInstancesLogReplayAlgorithm
getHTMLInfo
in interface IPNMatchInstancesLogReplayAlgorithm
getHTMLInfo
in class AllOptAlignmentsGraphSamplingAlg
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 AllOptAlignmentsGraphSamplingAlg
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 AllOptAlignmentsGraphSamplingAlg