public abstract class OptimalMiner<M>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
bestDistance |
protected org.deckfour.xes.model.XLog |
bestLog |
protected M |
bestModel |
protected org.processmining.framework.plugin.PluginContext |
context |
protected Distance |
currentDistance |
protected org.deckfour.xes.model.XLog |
currentLog |
protected M |
currentModel |
protected DistanceFunction |
function |
protected org.deckfour.xes.model.XLog |
origLog |
protected M |
origModel |
Constructor and Description |
---|
OptimalMiner(DistanceFunction function,
org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
M model) |
Modifier and Type | Method and Description |
---|---|
protected abstract Distance |
computeDistance(org.deckfour.xes.model.XLog log,
M model)
Computes the distance between a log and a model
Subclasses need to implement this according to their model type.
|
org.deckfour.xes.model.XLog |
getBestLog() |
M |
getBestModel() |
protected abstract void |
performSearch()
Tries to find a log-model pair that is best in terms of a score
|
void |
searchForBetterLogAndModel() |
protected final org.deckfour.xes.model.XLog origLog
protected final M origModel
protected final DistanceFunction function
protected Distance currentDistance
protected double bestDistance
protected org.deckfour.xes.model.XLog bestLog
protected M bestModel
protected org.deckfour.xes.model.XLog currentLog
protected M currentModel
protected org.processmining.framework.plugin.PluginContext context
public OptimalMiner(DistanceFunction function, org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, M model)
protected abstract Distance computeDistance(org.deckfour.xes.model.XLog log, M model)
log
- the log to compare with the modelmodel
- the model to compare with the logpublic org.deckfour.xes.model.XLog getBestLog()
public M getBestModel()
public void searchForBetterLogAndModel()
protected abstract void performSearch()