public class WrappedDataConformanceObserver extends java.lang.Object implements DataConformancePlusObserver
DataConformancePlusObserver.ImpossibleTrace| Constructor and Description |
|---|
WrappedDataConformanceObserver(DataConformancePlusObserver observer) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculatedFitness(int traceIndex,
org.deckfour.xes.model.XTrace trace,
BalancedDataAlignmentState resultState)
The fitness was calculated based on the obtained optimal alignment
|
void |
finishedAlignment()
The alignment computation is finished
|
void |
foundImpossibleAlignments(java.util.Collection<DataConformancePlusObserver.ImpossibleTrace> impossibleTraces)
At the end of the alignment computation this method is called with the
(possibly empty) list of traces for which no alignment could be obtained.
|
void |
foundOptimalAlignment(int traceIndex,
org.deckfour.xes.model.XTrace trace,
DataAlignedTrace alignedTrace,
int partialDataAlignmentsNeeded,
int cacheHit,
int cacheSize,
long queuedStates,
long dataStateCount,
long usedTime)
An optimal alignment was found
|
DataConformancePlusObserver |
getWrappedObserver() |
void |
log(java.util.logging.Level level,
java.lang.String message) |
void |
log(java.lang.String message)
|
void |
log(java.lang.String message,
java.lang.Throwable e)
|
void |
processingNewTrace(int traceIndex,
org.deckfour.xes.model.XTrace trace)
Called for each new trace
|
void |
slowDataAlignmentDetected(int traceIndex,
org.deckfour.xes.model.XTrace trace,
DataAlignedTrace dataAlignmentState,
long usedTime)
The alignment computation was slow for this trace
|
void |
startAlignment(int numExpectedResults)
Called at the start of the alignment
|
void |
unreliableAlignmentDetected(int traceIndex,
org.deckfour.xes.model.XTrace currentTrace)
No alignment could be computed for this trace.
|
public WrappedDataConformanceObserver(DataConformancePlusObserver observer)
public void foundOptimalAlignment(int traceIndex,
org.deckfour.xes.model.XTrace trace,
DataAlignedTrace alignedTrace,
int partialDataAlignmentsNeeded,
int cacheHit,
int cacheSize,
long queuedStates,
long dataStateCount,
long usedTime)
DataConformancePlusObserverfoundOptimalAlignment in interface DataConformancePlusObserverpublic void slowDataAlignmentDetected(int traceIndex,
org.deckfour.xes.model.XTrace trace,
DataAlignedTrace dataAlignmentState,
long usedTime)
DataConformancePlusObserverslowDataAlignmentDetected in interface DataConformancePlusObserverpublic void processingNewTrace(int traceIndex,
org.deckfour.xes.model.XTrace trace)
DataConformancePlusObserverprocessingNewTrace in interface DataConformancePlusObserverpublic void calculatedFitness(int traceIndex,
org.deckfour.xes.model.XTrace trace,
BalancedDataAlignmentState resultState)
DataConformancePlusObservercalculatedFitness in interface DataConformancePlusObserverpublic void unreliableAlignmentDetected(int traceIndex,
org.deckfour.xes.model.XTrace currentTrace)
DataConformancePlusObserverunreliableAlignmentDetected in interface DataConformancePlusObserverpublic void log(java.lang.String message)
DataConformancePlusObserverlog in interface DataConformancePlusObserverpublic void log(java.lang.String message,
java.lang.Throwable e)
DataConformancePlusObserverlog in interface DataConformancePlusObserverpublic void log(java.util.logging.Level level,
java.lang.String message)
log in interface DataConformancePlusObserverpublic void finishedAlignment()
DataConformancePlusObserverfinishedAlignment in interface DataConformancePlusObserverpublic void startAlignment(int numExpectedResults)
DataConformancePlusObserverstartAlignment in interface DataConformancePlusObserverpublic DataConformancePlusObserver getWrappedObserver()
public void foundImpossibleAlignments(java.util.Collection<DataConformancePlusObserver.ImpossibleTrace> impossibleTraces)
DataConformancePlusObserver
This is a convenience method to be used instead of
DataConformancePlusObserver.unreliableAlignmentDetected(int, XTrace).
foundImpossibleAlignments in interface DataConformancePlusObserver