public class SlidingWindowHM extends HeuristicsNetBasedOnlineMiningAlgorithm
configuration, fitnessLog, observedEvents, plugin, precisionLog| Constructor and Description |
|---|
SlidingWindowHM()
Default constructor
|
SlidingWindowHM(OnlineMinerPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeEvent(org.deckfour.xes.model.XTrace trace,
boolean isTraceStart,
boolean isTraceComplete)
This method is responsible of the actual analysis of the provided trace
(containing only one event)
|
protected void |
cacheCleanup()
This method cleans up the cache
|
protected java.util.Collection<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> |
getLogStartEnd()
This method is required in order to obtain the set of pairs of events
that are allowed to start and end each trace.
|
void |
setup(MinerConfiguration configuration)
This method is called before that the actual mining start
|
protected java.lang.Object |
updateModel()
This method is called all the time that (if configured) the model needs
to be updated
|
computeFitness, computePrecisiongetConfiguration, getContext, observe, prepareMiner, setPluginpublic SlidingWindowHM()
public SlidingWindowHM(OnlineMinerPlugin plugin) throws ClassIsNotOnlineAlgorithmException
plugin - ClassIsNotOnlineAlgorithmExceptionpublic void setup(MinerConfiguration configuration)
OnlineMiningAlgorithmsetup in class OnlineMiningAlgorithmprotected void analyzeEvent(org.deckfour.xes.model.XTrace trace,
boolean isTraceStart,
boolean isTraceComplete)
OnlineMiningAlgorithmanalyzeEvent in class OnlineMiningAlgorithmtrace - the trace observedisTraceStart - this variable is set to true if the event collected
is explicitly marked as the first event of the traceisTraceComplete - this variable is set to true if the event collected
is explicitly marked as the last event of the traceprotected java.lang.Object updateModel()
OnlineMiningAlgorithmupdateModel in class OnlineMiningAlgorithmprotected void cacheCleanup()
HeuristicsNetBasedOnlineMiningAlgorithmcacheCleanup in class HeuristicsNetBasedOnlineMiningAlgorithmprotected java.util.Collection<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> getLogStartEnd()
HeuristicsNetBasedOnlineMiningAlgorithmgetLogStartEnd in class HeuristicsNetBasedOnlineMiningAlgorithm