|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.models.petrinet.algorithms.logReplay.AnalysisResult
org.processmining.framework.models.petrinet.algorithms.logReplay.LogReplayAnalysisResult
org.processmining.analysis.performance.PerformanceLogReplayResult
public class PerformanceLogReplayResult
Contains all the performance results obtained during log replay analysis. Can be used to retrieve values for the performance metrics and to get extended visualizations.
PerformanceMeasurer
Field Summary |
---|
Fields inherited from class org.processmining.framework.models.petrinet.algorithms.logReplay.LogReplayAnalysisResult |
---|
inputLogReader, inputPetriNet, performLogReplay, replayedLog, replayedPetriNet |
Fields inherited from class org.processmining.framework.models.petrinet.algorithms.logReplay.AnalysisResult |
---|
myAnalysisOptions |
Constructor Summary | |
---|---|
PerformanceLogReplayResult(AnalysisConfiguration analysisOptions,
PetriNet net,
LogReader log,
LogReplayAnalysisMethod method)
|
Method Summary | |
---|---|
void |
calculateMetrics(java.util.ArrayList piList,
int fitOption)
Calculates the average, min ad max throughput time out of the throughput times of all traces in piList. |
void |
exportToFile(java.util.ArrayList piList,
java.io.File file,
long divider,
java.lang.String sort,
int fitOption)
Exports the throughput times of all process instances in piList to a comma-seperated text-file. |
double |
getArrivalRate()
Calculates and returns the arrival rate of the traces in piList |
org.apache.commons.math.stat.descriptive.SummaryStatistics |
getArrivalStats()
Returns the arrival Stats of the traces in piList |
double[] |
getAverageTimes(double fastestPercentage,
double slowestPercentage)
Calculates the average of the (fastestpercentage) fast traces, the (slowestPercentage) slow traces and the (100% - fastestPercentage - slowestPercentage) normal speed traces and returns these averages in an array, where [0]: avg fast throughput time [1]: avg slow throughput time [2]: avg middle throughput time |
double |
getMaxThroughputTime()
Returns the maximal throughput time |
double |
getMeanThroughputTime()
Returns the mean throughput time |
double |
getMinThroughputTime()
Returns the minimal throughput time. |
int |
getProperFrequency()
returns the number of cases that execute successfully and complete properly |
int[] |
getSizes(double fastestPercentage,
double slowestPercentage)
Returns an array containing the number of process instances that are considered to be fast, i.e. |
double |
getStdevThroughputTime()
Calculates and returns the stdev in throughput time out of the throughput times in timeStats. |
ModelGraphPanel |
getVisualization(java.util.ArrayList selectedInstances)
Creates a visualization of the performance analysis results. |
protected void |
initDiagnosticDataStructures()
Initializes the diagnostic data structures needed to store the measurements taken during the log replay analysis. |
Methods inherited from class org.processmining.framework.models.petrinet.algorithms.logReplay.LogReplayAnalysisResult |
---|
performLogReplay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerformanceLogReplayResult(AnalysisConfiguration analysisOptions, PetriNet net, LogReader log, LogReplayAnalysisMethod method)
Method Detail |
---|
protected void initDiagnosticDataStructures()
initDiagnosticDataStructures
in class LogReplayAnalysisResult
public void calculateMetrics(java.util.ArrayList piList, int fitOption) throws java.lang.Exception
piList
- ArrayList: the process instances usedfitOption
- int: the fit option used (how to deal with non-conformance)
java.lang.Exception
public void exportToFile(java.util.ArrayList piList, java.io.File file, long divider, java.lang.String sort, int fitOption) throws java.io.IOException
piList
- ArrayList: the process instances usedfile
- File: the file to which the times are exporteddivider
- long: the time divider usedsort
- String: the time sort usedfitOption
- int: the fit option used (how to deal with non-conformance)
java.io.IOException
public double getStdevThroughputTime()
public double[] getAverageTimes(double fastestPercentage, double slowestPercentage)
fastestPercentage
- double: the percentage of measurements that
is to be counted as fastslowestPercentage
- double: the percentage of measurements that
is to be counted as slow
public int[] getSizes(double fastestPercentage, double slowestPercentage)
fastestPercentage
- double: the percentage of measurements that
is to be counted as fastslowestPercentage
- double: the percentage of measurements that
is to be counted as slow
public double getArrivalRate()
public org.apache.commons.math.stat.descriptive.SummaryStatistics getArrivalStats()
public double getMeanThroughputTime()
public double getMinThroughputTime()
public double getMaxThroughputTime()
public int getProperFrequency()
public ModelGraphPanel getVisualization(java.util.ArrayList selectedInstances)
selectedInstances
- The process instances that have been selected for updating
the visualization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |