org.processmining.analysis.conformance
Class DiagnosticLogReader

java.lang.Object
  extended by org.processmining.framework.models.petrinet.algorithms.logReplay.ReplayedLogReader
      extended by org.processmining.analysis.conformance.DiagnosticLogReader

public class DiagnosticLogReader
extends ReplayedLogReader

This class is used to enhance the log reader with conformance check results.

Author:
arozinat
See Also:
ReplayedLogReader, DiagnosticLogTrace

Field Summary
 
Fields inherited from class org.processmining.framework.models.petrinet.algorithms.logReplay.ReplayedLogReader
logIterator, logTraceMap, logTraces, originalLogReader, sortedTraceList
 
Constructor Summary
DiagnosticLogReader(LogReader logReader)
          Construct an enhanced log reader by wrapping the original one.
 
Method Summary
protected  ReplayedLogTrace createReplayedLogTrace(ProcessInstance pi)
          Wrappes the given process instance in a ReplayedLogTrace.
Creates a diagnostic data structure for log traces in the context of the conformance checker.
 
Methods inherited from class org.processmining.framework.models.petrinet.algorithms.logReplay.ReplayedLogReader
getDiagnosticLogTraces, getIndexOfLogTrace, getLogReader, getLogSummary, getLogTrace, getLogTraceIDs, getMostFrequentTraces, getOverallNumberOfProcessInstances, getPercentage, getSizeOfLog, hasNext, next, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagnosticLogReader

public DiagnosticLogReader(LogReader logReader)
Construct an enhanced log reader by wrapping the original one. Furthermore the diagnostic data structures are initialized by wrapping all process instances in a diagnostic log trace. Note that it is assumed here that the log has been pre-processed and similar instances got summarized (since they share the same diagnostic results), i.e., that the log has already been aggregated on a logical level.

Parameters:
logReader - The original log reader (to be passed to super).
Method Detail

createReplayedLogTrace

protected ReplayedLogTrace createReplayedLogTrace(ProcessInstance pi)
Wrappes the given process instance in a ReplayedLogTrace.
This method should be overridden in order to define plugin-specific diagnostic data structures for log traces.
Creates a diagnostic data structure for log traces in the context of the conformance checker.

Overrides:
createReplayedLogTrace in class ReplayedLogReader
Parameters:
pi - the process instance to be wrapped
Returns:
the newly created log trace data structure