Class PetrinetLSMiner
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.miner.OptimalMiner<M>
-
- org.processmining.plugins.stochasticpetrinet.miner.LocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>
-
- org.processmining.plugins.stochasticpetrinet.miner.PetrinetLSMiner
-
public class PetrinetLSMiner extends LocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>
Created by andreas on 3/22/17.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.processmining.plugins.petrinet.replayresult.PNRepResultcurrentAlignment-
Fields inherited from class org.processmining.plugins.stochasticpetrinet.miner.LocalSearchMiner
MAX_ITER, MAX_MOVES_WITHOUT_IMPROVEMENT
-
Fields inherited from class org.processmining.plugins.stochasticpetrinet.miner.OptimalMiner
bestDistance, bestLog, bestModel, context, currentDistance, currentLog, currentModel, function, origLog, origModel
-
-
Constructor Summary
Constructors Constructor Description PetrinetLSMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DistancecomputeDistance(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.XLogmoveInLog(org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)We assume that the alignmentprotected org.processmining.models.graphbased.directed.petrinet.PetrinetGraphmoveInModel(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.-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.miner.LocalSearchMiner
performSearch, updateDistances
-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.miner.OptimalMiner
getBestLog, getBestModel, searchForBetterLogAndModel
-
-
-
-
Constructor Detail
-
PetrinetLSMiner
public PetrinetLSMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
-
-
Method Detail
-
computeDistance
protected Distance computeDistance(org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)
Description copied from class:OptimalMinerComputes the distance between a log and a model Subclasses need to implement this according to their model type. Ideally, this is a fast step.- Specified by:
computeDistancein classOptimalMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>- Parameters:
log- the log to compare with the modelmodel- the model to compare with the log- Returns:
- Distance
-
moveInModel
protected org.processmining.models.graphbased.directed.petrinet.PetrinetGraph moveInModel(org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model, org.deckfour.xes.model.XLog log)Description copied from class:LocalSearchMinerwe assume that the alignment guides us in changing the graph.- Specified by:
moveInModelin classLocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>
-
moveInLog
protected org.deckfour.xes.model.XLog moveInLog(org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph model)Description copied from class:LocalSearchMinerWe assume that the alignment- Specified by:
moveInLogin classLocalSearchMiner<org.processmining.models.graphbased.directed.petrinet.PetrinetGraph>- Returns:
- XLog adjusted to better fit the current
-
-