org.processmining.analysis.performance
Class PerformanceMeasurer
java.lang.Object
org.processmining.framework.models.petrinet.algorithms.logReplay.Measurer
org.processmining.analysis.performance.PerformanceMeasurer
public class PerformanceMeasurer
- extends Measurer
Actually takes those measurements that are needed to calculate
some performance metrics. This is a subclass of the Measurer class.
- Author:
- Peter T.G. Hornix (p.t.g.hornix@student.tue.nl)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformanceMeasurer
public PerformanceMeasurer()
initLogReplayAnalysisResult
protected LogReplayAnalysisResult initLogReplayAnalysisResult(AnalysisConfiguration analysisOptions,
PetriNet petriNet,
LogReader log,
LogReplayAnalysisMethod analysisMethod)
- To be overridden in subclasses that want create custom analysis results.
Creates an analysis result of type
PerformanceLogReplayResult
.
- Overrides:
initLogReplayAnalysisResult
in class Measurer
- Parameters:
analysisOptions
- the configuration object determining which parts
of the analysis should be carried out (can be null
, then all options are interpreted as enabled)
takeFailedTaskMeasurement
protected void takeFailedTaskMeasurement(ReplayedLogTrace pi,
ReplayedTransition t,
AuditTrailEntry ate)
- Will be called directly before a failed task becomes artificially enabled
in order to progress with the log replay (non-blocking).
Does nothing per default (to be overridden in subclasses if necessary).
Records that the corresponding log trace has not completed succesfully
- Overrides:
takeFailedTaskMeasurement
in class Measurer
- Parameters:
pi
- ReplayedLogTracet
- ReplayedTransitionate
- AuditTrailEntry
takePostTraceReplayMeasurement
protected void takePostTraceReplayMeasurement(LogReplayAnalysisResult result,
ReplayedLogTrace pi)
- Will be called directly after finishing replay of the current trace.
Does nothing per default (to be overridden in subclasses if necessary).
Checks whether places have tokens remaining and records that the corresponding
log trace has not properly terminated if this is the case.
- Overrides:
takePostTraceReplayMeasurement
in class Measurer
- Parameters:
result
- the result object filled by the log replay methodpi
- the trace which is currently replayed