public abstract class AbstractLogRelations extends java.lang.Object implements LogRelations
Modifier and Type | Field and Description |
---|---|
protected int[][] |
absoluteDirectlyFollowsMatrix |
protected int[][] |
absoluteLengthTwoLoopMatrix |
protected double[][] |
causalMatrix |
protected org.deckfour.xes.classification.XEventClasses |
classes |
protected java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.util.Set<org.deckfour.xes.model.XTrace>> |
dfrTraceMap |
protected int[] |
ends |
protected java.util.List<org.deckfour.xes.classification.XEventClass> |
eventClasses |
protected org.deckfour.xes.model.XLog |
log |
protected org.processmining.framework.plugin.Progress |
progress |
protected int[] |
starts |
protected org.deckfour.xes.info.XLogInfo |
summary |
Constructor and Description |
---|
AbstractLogRelations(org.deckfour.xes.model.XLog log) |
AbstractLogRelations(org.deckfour.xes.model.XLog log,
org.processmining.framework.plugin.Progress progress) |
AbstractLogRelations(org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary) |
AbstractLogRelations(org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary,
org.processmining.framework.plugin.Progress progress) |
Modifier and Type | Method and Description |
---|---|
org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,int[][]> |
absoluteDirectlyFollowsMatrix()
Returns a matrix with absolute dfr-frequencies.
|
protected abstract void |
calculateLogRelations() |
protected abstract void |
calculateMetrics() |
java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> |
causalDependencies()
Returns a map from pairs of event classes to double, such that if a pair
(x,y) of two event classes x and y are in the map, the double value
attached to this pair indicated the strength of a causal dependency from
x to y.
|
org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,double[][]> |
causalMatrix()
Returns a causal matrix with some causal measure.
|
protected abstract void |
expandProgress()
Add to the progress, the additional cost of computation generated by
calculate metrics.
|
protected void |
fillDirectSuccessionMatrices()
Makes dfrPairs succession relations, as well as two-loop relations, i.e.
|
java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> |
getCausalDependencies()
Deprecated.
|
java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.util.Set<org.deckfour.xes.model.XTrace>> |
getCountDirect() |
java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer> |
getDirectFollowsDependencies()
Returns a map from pairs of event classes to integers, such that if a
pair (x,y) of two event classes x and y are in the map, and the integer
value attached to this pair is greater than 0, then a dfrPairs follows
dependency from x to y exists.
|
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> |
getEndEvents()
Tells for each event class how often it appears at the endEvents of a
trace in the log, if any, i.e.
|
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> |
getEndTraceInfo()
Deprecated.
|
org.deckfour.xes.classification.XEventClasses |
getEventClasses()
Deprecated.
|
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> |
getLengthOneLoops()
Returns a map from self-loop event classes to integers.
|
java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer> |
getLengthTwoLoops()
Deprecated.
|
org.deckfour.xes.model.XLog |
getLog()
Deprecated.
|
org.deckfour.xes.model.XLog |
getSource() |
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> |
getStartEvents()
Tells for each event class how often it appears at the startEvents of a
trace in the log, if any, i.e.
|
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> |
getStartTraceInfo()
Tells for each event class how often it appears at the startEvents of a
trace in the log, if any, i.e.
|
org.deckfour.xes.info.XLogInfo |
getSummary()
Returns the summary of the log, corresponding to the getEventClasses
method
|
protected void |
increaseProgress() |
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Double> |
lengthOneLoops()
Returns a map from self-loop event classes to doubles.
|
java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> |
lengthTwoLoops()
Returns a map from pairs of event classes to doubles for which it is
known that they are in length-two loop situations.
|
protected org.deckfour.xes.classification.XEventClass[] |
setupEventClasses() |
protected void |
storePair(int fromIndex,
int toIndex,
org.deckfour.xes.model.XTrace trace) |
protected boolean |
traceContainsLengthTwoConstruct(org.deckfour.xes.model.XTrace trace,
int fromIndex,
org.deckfour.xes.classification.XEventClass from,
org.deckfour.xes.classification.XEventClass to) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParallelRelations
protected final org.deckfour.xes.model.XLog log
protected final org.deckfour.xes.info.XLogInfo summary
protected final org.deckfour.xes.classification.XEventClasses classes
protected final java.util.List<org.deckfour.xes.classification.XEventClass> eventClasses
protected final int[][] absoluteDirectlyFollowsMatrix
protected final int[][] absoluteLengthTwoLoopMatrix
protected final int[] starts
protected final int[] ends
protected final double[][] causalMatrix
protected final java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.util.Set<org.deckfour.xes.model.XTrace>> dfrTraceMap
protected org.processmining.framework.plugin.Progress progress
public AbstractLogRelations(org.deckfour.xes.model.XLog log)
public AbstractLogRelations(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary)
public AbstractLogRelations(org.deckfour.xes.model.XLog log, org.processmining.framework.plugin.Progress progress)
public AbstractLogRelations(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, org.processmining.framework.plugin.Progress progress)
protected org.deckfour.xes.classification.XEventClass[] setupEventClasses()
protected abstract void calculateLogRelations()
protected abstract void expandProgress()
protected abstract void calculateMetrics()
protected void fillDirectSuccessionMatrices()
protected final void increaseProgress()
protected boolean traceContainsLengthTwoConstruct(org.deckfour.xes.model.XTrace trace, int fromIndex, org.deckfour.xes.classification.XEventClass from, org.deckfour.xes.classification.XEventClass to)
protected void storePair(int fromIndex, int toIndex, org.deckfour.xes.model.XTrace trace)
public org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,int[][]> absoluteDirectlyFollowsMatrix()
EventRelations
absoluteDirectlyFollowsMatrix
in interface EventRelations<org.deckfour.xes.model.XLog>
@Deprecated public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getEndTraceInfo()
LogRelations
getEndTraceInfo
in interface LogRelations
@Deprecated public org.deckfour.xes.classification.XEventClasses getEventClasses()
EventRelations
getEventClasses
in interface EventRelations<org.deckfour.xes.model.XLog>
@Deprecated public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer> getLengthTwoLoops()
EventRelations
getLengthTwoLoops
in interface EventRelations<org.deckfour.xes.model.XLog>
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> lengthTwoLoops()
EventRelations
lengthTwoLoops
in interface EventRelations<org.deckfour.xes.model.XLog>
@Deprecated public org.deckfour.xes.model.XLog getLog()
LogRelations
getLog
in interface LogRelations
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getStartTraceInfo()
LogRelations
getStartTraceInfo
in interface LogRelations
public org.deckfour.xes.info.XLogInfo getSummary()
LogRelations
getSummary
in interface LogRelations
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer> getDirectFollowsDependencies()
EventRelations
getDirectFollowsDependencies
in interface EventRelations<org.deckfour.xes.model.XLog>
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.util.Set<org.deckfour.xes.model.XTrace>> getCountDirect()
getCountDirect
in interface LogRelations
@Deprecated public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> getCausalDependencies()
EventRelations
getCausalDependencies
in interface EventRelations<org.deckfour.xes.model.XLog>
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> causalDependencies()
LogRelations
causalDependencies
in interface LogRelations
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getLengthOneLoops()
EventRelations
getLengthOneLoops
in interface EventRelations<org.deckfour.xes.model.XLog>
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Double> lengthOneLoops()
EventRelations
lengthOneLoops
in interface EventRelations<org.deckfour.xes.model.XLog>
public org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,double[][]> causalMatrix()
EventRelations
causalMatrix
in interface EventRelations<org.deckfour.xes.model.XLog>
public org.deckfour.xes.model.XLog getSource()
getSource
in interface EventRelations<org.deckfour.xes.model.XLog>
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getStartEvents()
EventRelations
getStartEvents
in interface EventRelations<org.deckfour.xes.model.XLog>
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getEndEvents()
EventRelations
getEndEvents
in interface EventRelations<org.deckfour.xes.model.XLog>