public class PetrinetLSMiner extends LocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>
Modifier and Type | Field and Description |
---|---|
protected org.processmining.plugins.petrinet.replayresult.PNRepResult |
currentAlignment |
MAX_ITER, MAX_MOVES_WITHOUT_IMPROVEMENT
bestDistance, bestLog, bestModel, context, currentDistance, currentLog, currentModel, function, origLog, origModel
Constructor and Description |
---|
PetrinetLSMiner(DistanceFunction function,
org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model) |
Modifier and Type | Method and Description |
---|---|
protected Distance |
computeDistance(org.deckfour.xes.model.XLog log,
org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
Computes the distance between a log and a model
Subclasses need to implement this according to their model type.
|
protected org.deckfour.xes.model.XLog |
moveInLog(org.deckfour.xes.model.XLog log,
org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
We assume that the alignment
|
protected org.processmining.models.graphbased.directed.petrinet.PetrinetGraph |
moveInModel(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model,
org.deckfour.xes.model.XLog log)
we assume that the alignment guides us in changing the graph.
|
performSearch, updateDistances
getBestLog, getBestModel, searchForBetterLogAndModel
protected org.processmining.plugins.petrinet.replayresult.PNRepResult currentAlignment
public PetrinetLSMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
protected Distance computeDistance(org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
OptimalMiner
computeDistance
in class OptimalMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>
log
- the log to compare with the modelmodel
- the model to compare with the logprotected org.processmining.models.graphbased.directed.petrinet.PetrinetGraph moveInModel(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model, org.deckfour.xes.model.XLog log)
LocalSearchMiner
moveInModel
in class LocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>
protected org.deckfour.xes.model.XLog moveInLog(org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
LocalSearchMiner
moveInLog
in class LocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>