Class LocalSearchMiner<M>
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.miner.OptimalMiner<M>
-
- org.processmining.plugins.stochasticpetrinet.miner.LocalSearchMiner<M>
-
- Direct Known Subclasses:
PetrinetLSMiner
public abstract class LocalSearchMiner<M> extends OptimalMiner<M>
-
-
Field Summary
Fields Modifier and Type Field Description protected static intMAX_ITERprotected static intMAX_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 LocalSearchMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, M model)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.deckfour.xes.model.XLogmoveInLog(org.deckfour.xes.model.XLog log, M model)We assume that the alignmentprotected abstract MmoveInModel(M model, org.deckfour.xes.model.XLog log)we assume that the alignment guides us in changing the graph.protected voidperformSearch()Tries to find a log-model pair that is best in terms of a scoreprotected booleanupdateDistances(org.deckfour.xes.model.XLog log, M model)Updates the distances with the current log and model-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.miner.OptimalMiner
computeDistance, getBestLog, getBestModel, searchForBetterLogAndModel
-
-
-
-
Field Detail
-
MAX_ITER
protected static final int MAX_ITER
- See Also:
- Constant Field Values
-
MAX_MOVES_WITHOUT_IMPROVEMENT
protected static final int MAX_MOVES_WITHOUT_IMPROVEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LocalSearchMiner
public LocalSearchMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, M model)
-
-
Method Detail
-
updateDistances
protected final boolean updateDistances(org.deckfour.xes.model.XLog log, M model)Updates the distances with the current log and model- Parameters:
log- logmodel- model- Returns:
- whether the current log and model
-
performSearch
protected void performSearch()
Description copied from class:OptimalMinerTries to find a log-model pair that is best in terms of a score- Specified by:
performSearchin classOptimalMiner<M>
-
moveInModel
protected abstract M moveInModel(M model, org.deckfour.xes.model.XLog log)
we assume that the alignment guides us in changing the graph.
-
moveInLog
protected abstract org.deckfour.xes.model.XLog moveInLog(org.deckfour.xes.model.XLog log, M model)We assume that the alignment- Returns:
- XLog adjusted to better fit the current
-
-