|
||||||||||
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.conformance.ConformanceLogReplayResult
public class ConformanceLogReplayResult
Contains all the results obtained during log replay analysis. Can be used to retrieve values for the implemented metrics and to get diagnostic visualizations.
ConformanceMeasurer
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 | |
---|---|
ConformanceLogReplayResult(AnalysisConfiguration analysisOptions,
PetriNet net,
LogReader log,
LogReplayAnalysisMethod method)
Evaluate the given configuration options, that is, retrieves the choices made by the user and converts them into analysis option variables indicating which parts of the analysis needs to be done. |
Method Summary | |
---|---|
void |
addFittingInstance(ReplayedLogTrace pi)
Adds the given process instance to the set of perfectly fitting log traces. |
boolean |
calculateBehavioralAppropriateness()
Indicates whether the "Behavioral Appropriateness" metric has been selected by the user. |
boolean |
calculateFitness()
Indicates whether the "Fitness" metric has been selected by the user. |
boolean |
calculateImprovedBehavioralAppropriateness()
Indicates whether the "Improved Behavioral Appropriateness" metric has been selected by the user. |
boolean |
calculateProperCompletetion()
Indicates whether the "Proper Completion" metric has been selected by the user. |
boolean |
calculateSuccessfulExecution()
Indicates whether the "Successful Execution" metric has been selected by the user. |
float |
getBehavioralAppropriatenessMeasure()
Retrieves the behavioral appropriateness measure based on the mean number of enabled transitions during log replay. |
java.lang.String |
getCurrentVisualizationState()
Get the current display state. |
float |
getFitnessMeasure()
Retrieves the fitness measure based on the token based proper completion and the successful execution measures (weighted 50 per cent each). |
java.util.ArrayList<java.lang.String> |
getFittingLogTraces()
Gets all fitting log traces from the log. |
float |
getFractionOfProperlyTerminated()
Determine the fraction [0,1] of properly terminated process instances from those log traces specified in the list. |
float |
getFractionOfSuccessfullyExecuted()
Determine the fraction [0,1] of successfully executed process instances from those log traces specified in the list. |
DiagnosticLogEventRelation |
getLogEventRelations()
Retrieves the global log event relations gathered during log replay. |
float |
getProperCompletionTokenMeasure()
Retrieves the proper completion measure based on remaining tokens (i.e., amount of remaining / amount of produced) during log replay. |
float |
getSuccessfulExecutionTokenMeasure()
Retrieves the successful execution measure based on missing tokens (i.e., amount of missing / amount of consumed) during log replay. |
att.grappa.GrappaPanel |
getVisualization(DisplayState currentVisualization)
Creates a visualization of the conformance check results. |
protected void |
initDiagnosticDataStructures()
Initializes the diagnostic data structures needed to store the measurements taken during the log replay analysis. |
void |
updateConsumedTokens(int consumed)
Adds up the given consumed tokens to the global measurement. |
void |
updateMeanOfEnabledTransitions(float mean,
int similarInst)
Updates the mean number of enabled transitions measurement for the given log trace according to the number of similar instances. |
void |
updateNumberOfProcessInstances(int value)
TODO: check whether can be obtained from the log directly Adds up the total number of process instances. |
void |
updateProducedTokens(int produced)
Adds up the given produced tokens to the global measurement. |
void |
updateProperlyCompletedInstances(int value)
Adds up the global "properly-completed" measurement by the given value. |
void |
updateSuccessfullyExecutedInstances(int value)
Adds up the global "successfully-executed" measurement by the given value. |
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 ConformanceLogReplayResult(AnalysisConfiguration analysisOptions, PetriNet net, LogReader log, LogReplayAnalysisMethod method)
Method Detail |
---|
protected void initDiagnosticDataStructures()
LogReplayAnalysisResult
initDiagnosticDataStructures
in class LogReplayAnalysisResult
public boolean calculateBehavioralAppropriateness()
true
if this option has been chosen, false
otherwisepublic boolean calculateImprovedBehavioralAppropriateness()
true
if this option has been chosen, false
otherwisepublic boolean calculateFitness()
public boolean calculateSuccessfulExecution()
public boolean calculateProperCompletetion()
public float getFractionOfProperlyTerminated()
public float getFractionOfSuccessfullyExecuted()
piList
- The list of specified log traces.
public float getSuccessfulExecutionTokenMeasure()
public float getProperCompletionTokenMeasure()
public float getFitnessMeasure()
public float getBehavioralAppropriatenessMeasure() throws java.lang.Exception
piList
- The list of diagnostic log traces.
java.lang.Exception
- In the case that the entry for one
of the traces is missing.public java.util.ArrayList<java.lang.String> getFittingLogTraces()
public DiagnosticLogEventRelation getLogEventRelations()
public void addFittingInstance(ReplayedLogTrace pi)
pi
- the fitting log trace to be addedpublic void updateNumberOfProcessInstances(int value)
corresponds
- to the number of similar instances for the updated tracepublic void updateProperlyCompletedInstances(int value)
corresponds
- to the number of similar instances for the updated tracepublic void updateSuccessfullyExecutedInstances(int value)
corresponds
- to the number of similar instances for the updated tracepublic void updateConsumedTokens(int consumed)
consumed
- the tokens that were consumed for the tracepublic void updateProducedTokens(int produced)
produced
- the tokens that were consumed for the tracepublic void updateMeanOfEnabledTransitions(float mean, int similarInst)
the
- mean number of enabled transitions during replay for the log tracethe
- number of similar process instances (control-flow perspective)public java.lang.String getCurrentVisualizationState()
public att.grappa.GrappaPanel getVisualization(DisplayState currentVisualization)
selectedInstances
- The process instances that have been selected for updating
the visualization.currentVisualization
- The current display state.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |