Class LifecyclePerformanceAlgorithm
- java.lang.Object
-
- org.processmining.lifecycleperformance.algorithms.LifecyclePerformanceAlgorithm
-
- Direct Known Subclasses:
LifecyclePerformancePlugin
public class LifecyclePerformanceAlgorithm extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LifecyclePerformanceAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateLifecyclePerformanceMetrics()This method takes as input the performance measurements obtained by replaying the events on the lifecycle model instances, and calculates any performance metrics defined on them.LifecyclePerformanceParametersgetParameters()PerformanceAnalysisResultsgetResults()protected voidhandleEvent(org.deckfour.xes.model.XEvent event)Handles the given event and its potential effects on any performance measure and metric.protected voidhandleEventlog(org.deckfour.xes.model.XLog eventlog)Measures performance measures and calculates performance metrics using the lifecycle performance approach and a static event log as input.protected voidinit()Initializes the memoryprotected voidsetInitialState(LifecycleModel model)Sets the current state to the first found initial state (i.e.voidsetMemory(PerformanceAnalysisResults results)voidsetParameters(LifecyclePerformanceParameters parameters)
-
-
-
Method Detail
-
getParameters
public LifecyclePerformanceParameters getParameters()
-
setParameters
public void setParameters(LifecyclePerformanceParameters parameters)
-
getResults
public PerformanceAnalysisResults getResults()
-
setMemory
public void setMemory(PerformanceAnalysisResults results)
-
init
protected void init()
Initializes the memory
-
handleEventlog
protected void handleEventlog(org.deckfour.xes.model.XLog eventlog)
Measures performance measures and calculates performance metrics using the lifecycle performance approach and a static event log as input.
-
handleEvent
protected void handleEvent(org.deckfour.xes.model.XEvent event)
Handles the given event and its potential effects on any performance measure and metric.- Parameters:
event- The event to handle
-
calculateLifecyclePerformanceMetrics
protected void calculateLifecyclePerformanceMetrics()
This method takes as input the performance measurements obtained by replaying the events on the lifecycle model instances, and calculates any performance metrics defined on them.
-
setInitialState
protected void setInitialState(LifecycleModel model)
Sets the current state to the first found initial state (i.e. any state without input transitions). It is assumed that only one such state exists, but technically, that needn't be the case.- Parameters:
model- The lifecycle model
-
-