public abstract class LocalSearchMiner<M> extends OptimalMiner<M>
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_ITER |
protected static int |
MAX_MOVES_WITHOUT_IMPROVEMENT |
bestDistance, bestLog, bestModel, context, currentDistance, currentLog, currentModel, function, origLog, origModel
Constructor and Description |
---|
LocalSearchMiner(DistanceFunction function,
org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
M model) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.deckfour.xes.model.XLog |
moveInLog(org.deckfour.xes.model.XLog log,
M model)
We assume that the alignment
|
protected abstract M |
moveInModel(M model,
org.deckfour.xes.model.XLog log)
we assume that the alignment guides us in changing the graph.
|
protected void |
performSearch()
Tries to find a log-model pair that is best in terms of a score
|
protected boolean |
updateDistances(org.deckfour.xes.model.XLog log,
M model)
Updates the distances with the current log and model
|
computeDistance, getBestLog, getBestModel, searchForBetterLogAndModel
protected static final int MAX_ITER
protected static final int MAX_MOVES_WITHOUT_IMPROVEMENT
public LocalSearchMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, M model)
protected final boolean updateDistances(org.deckfour.xes.model.XLog log, M model)
log
- logmodel
- modelprotected void performSearch()
OptimalMiner
performSearch
in class OptimalMiner<M>
protected abstract M moveInModel(M model, org.deckfour.xes.model.XLog log)
protected abstract org.deckfour.xes.model.XLog moveInLog(org.deckfour.xes.model.XLog log, M model)