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, computePrecision
getConfiguration, getContext, observe, prepareMiner, setPlugin
public SlidingWindowHM()
public SlidingWindowHM(OnlineMinerPlugin plugin) throws ClassIsNotOnlineAlgorithmException
plugin
- ClassIsNotOnlineAlgorithmException
public void setup(MinerConfiguration configuration)
OnlineMiningAlgorithm
setup
in class OnlineMiningAlgorithm
protected void analyzeEvent(org.deckfour.xes.model.XTrace trace, boolean isTraceStart, boolean isTraceComplete)
OnlineMiningAlgorithm
analyzeEvent
in class OnlineMiningAlgorithm
trace
- 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()
OnlineMiningAlgorithm
updateModel
in class OnlineMiningAlgorithm
protected void cacheCleanup()
HeuristicsNetBasedOnlineMiningAlgorithm
cacheCleanup
in class HeuristicsNetBasedOnlineMiningAlgorithm
protected java.util.Collection<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> getLogStartEnd()
HeuristicsNetBasedOnlineMiningAlgorithm
getLogStartEnd
in class HeuristicsNetBasedOnlineMiningAlgorithm