Class BasicLogRelations
- java.lang.Object
-
- org.processmining.plugins.log.logabstraction.BasicLogRelations
-
- All Implemented Interfaces:
EventRelations<org.deckfour.xes.model.XLog>,LogRelations
@Deprecated public class BasicLogRelations extends java.lang.Object implements LogRelations
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description BasicLogRelations(org.deckfour.xes.model.XLog log)Deprecated.BasicLogRelations(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary)Deprecated.BasicLogRelations(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, org.processmining.framework.plugin.Progress progress)Deprecated.BasicLogRelations(org.deckfour.xes.model.XLog log, org.processmining.framework.plugin.Progress progress)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,int[][]>absoluteDirectlyFollowsMatrix()Deprecated.Returns a matrix with absolute dfr-frequencies.java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double>causalDependencies()Deprecated.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()Deprecated.Returns a causal matrix with some causal measure.java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double>getCausalDependencies()Deprecated.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, and the double value attached to this pair is greater than 0, then a causal dependency from x to y exists.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()Deprecated.java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer>getDirectFollowsDependencies()Deprecated.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()Deprecated.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.Tells for each event class how often it appears at the endEvents of a trace in the log, if any, i.e.org.deckfour.xes.classification.XEventClassesgetEventClasses()Deprecated.Returns the event classes defined in the log and used in the relationsjava.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer>getLengthOneLoops()Deprecated.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.Returns a map from pairs of event classes to integers for which it is known that they are in length-two loop situations.org.deckfour.xes.model.XLoggetLog()Deprecated.Returns the log on which these abstractions are based.java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double>getParallelRelations()Deprecated.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, and the double value attached to this pair is greater than 0, then a parallel relation between x and y exists.org.deckfour.xes.model.XLoggetSource()Deprecated.java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer>getStartEvents()Deprecated.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()Deprecated.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.XLogInfogetSummary()Deprecated.Returns the summary of the log, corresponding to the getEventClasses methodjava.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Double>lengthOneLoops()Deprecated.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()Deprecated.Returns a map from pairs of event classes to doubles for which it is known that they are in length-two loop situations.
-
-
-
Constructor Detail
-
BasicLogRelations
public BasicLogRelations(org.deckfour.xes.model.XLog log)
Deprecated.
-
BasicLogRelations
public BasicLogRelations(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary)Deprecated.
-
BasicLogRelations
public BasicLogRelations(org.deckfour.xes.model.XLog log, org.processmining.framework.plugin.Progress progress)Deprecated.
-
BasicLogRelations
public BasicLogRelations(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, org.processmining.framework.plugin.Progress progress)Deprecated.
-
-
Method Detail
-
getCausalDependencies
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> getCausalDependencies()
Deprecated.Description copied from interface:EventRelationsReturns 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, and the double value attached to this pair is greater than 0, then a causal dependency from x to y exists. The double value indicates the strength of the causal dependency and should be between 0 and 1 (inclusive).- Specified by:
getCausalDependenciesin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from pairs of event classes to doubles
-
causalDependencies
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> causalDependencies()
Deprecated.Description copied from interface:LogRelationsReturns 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. The range and meaning of the value depends on the implementing class!- Specified by:
causalDependenciesin interfaceLogRelations- Returns:
- a map from pairs of event classes to doubles
-
getEndTraceInfo
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getEndTraceInfo()
Deprecated.Description copied from interface:LogRelationsTells for each event class how often it appears at the endEvents of a trace in the log, if any, i.e. the returned integer is always greater than 0.- Specified by:
getEndTraceInfoin interfaceLogRelations- Returns:
- the number of times each event class appears at the endEvents of a trace.
-
getEventClasses
public org.deckfour.xes.classification.XEventClasses getEventClasses()
Deprecated.Description copied from interface:EventRelationsReturns the event classes defined in the log and used in the relations- Specified by:
getEventClassesin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- event classes;
-
absoluteDirectlyFollowsMatrix
public org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,int[][]> absoluteDirectlyFollowsMatrix()
Deprecated.Description copied from interface:EventRelationsReturns a matrix with absolute dfr-frequencies. The first element of the pair is a List of XEventClasses. The index in the list corresponds to the index in the matrix. The matrix should be read as int[fromIndices][toIndices]- Specified by:
absoluteDirectlyFollowsMatrixin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- pair of eventclass mappings and absolute dfr value-matrix
-
causalMatrix
public org.processmining.framework.util.Pair<java.util.List<org.deckfour.xes.classification.XEventClass>,double[][]> causalMatrix()
Deprecated.Description copied from interface:EventRelationsReturns a causal matrix with some causal measure. The first element of the pair is a List of XEvent The first element of the pair is a List of XEventClasses. The index in the list corresponds to the index in the matrix.- Specified by:
causalMatrixin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a causal matrix
-
getLengthOneLoops
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getLengthOneLoops()
Deprecated.Description copied from interface:EventRelationsReturns a map from self-loop event classes to integers.- Specified by:
getLengthOneLoopsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from self-loop event classes to integers.
-
lengthOneLoops
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Double> lengthOneLoops()
Deprecated.Description copied from interface:EventRelationsReturns a map from self-loop event classes to doubles.- Specified by:
lengthOneLoopsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from self-loop event classes to doubles.
-
getLengthTwoLoops
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer> getLengthTwoLoops()
Deprecated.Description copied from interface:EventRelationsReturns a map from pairs of event classes to integers for which it is known that they are in length-two loop situations.- Specified by:
getLengthTwoLoopsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from pairs of event classes to integers
-
lengthTwoLoops
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> lengthTwoLoops()
Deprecated.Description copied from interface:EventRelationsReturns a map from pairs of event classes to doubles for which it is known that they are in length-two loop situations.- Specified by:
lengthTwoLoopsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from pairs of event classes to doubles
-
getLog
public org.deckfour.xes.model.XLog getLog()
Deprecated.Description copied from interface:LogRelationsReturns the log on which these abstractions are based.- Specified by:
getLogin interfaceLogRelations- Returns:
- the log on which these abstractions are based.
-
getParallelRelations
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Double> getParallelRelations()
Deprecated.Description copied from interface:EventRelationsReturns 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, and the double value attached to this pair is greater than 0, then a parallel relation between x and y exists. It can be assumed that the double value attached to (x,y) equals the value attached to (y,x). The double value indicates the strength of the parallel relation and should be between 0 and 1 (inclusive).- Specified by:
getParallelRelationsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from pairs of event classes to doubles
-
getStartTraceInfo
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getStartTraceInfo()
Deprecated.Description copied from interface:LogRelationsTells for each event class how often it appears at the startEvents of a trace in the log, if any, i.e. the returned integer is always greater than 0.- Specified by:
getStartTraceInfoin interfaceLogRelations- Returns:
- the number of times each event class appears at the startEvents of a trace.
-
getSummary
public org.deckfour.xes.info.XLogInfo getSummary()
Deprecated.Description copied from interface:LogRelationsReturns the summary of the log, corresponding to the getEventClasses method- Specified by:
getSummaryin interfaceLogRelations- Returns:
- the summary
-
getDirectFollowsDependencies
public java.util.Map<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>,java.lang.Integer> getDirectFollowsDependencies()
Deprecated.Description copied from interface:EventRelationsReturns 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. The integer value indicates how often the first event is directly followed by the second event.- Specified by:
getDirectFollowsDependenciesin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- a map from pairs of event classes to integers
-
getCountDirect
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()
Deprecated.- Specified by:
getCountDirectin interfaceLogRelations
-
getSource
public org.deckfour.xes.model.XLog getSource()
Deprecated.- Specified by:
getSourcein interfaceEventRelations<org.deckfour.xes.model.XLog>
-
getStartEvents
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getStartEvents()
Deprecated.Description copied from interface:EventRelationsTells for each event class how often it appears at the startEvents of a trace in the log, if any, i.e. the returned integer is always greater than 0.- Specified by:
getStartEventsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- the number of times each event class appears at the startEvents of a trace.
-
getEndEvents
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getEndEvents()
Deprecated.Description copied from interface:EventRelationsTells for each event class how often it appears at the endEvents of a trace in the log, if any, i.e. the returned integer is always greater than 0.- Specified by:
getEndEventsin interfaceEventRelations<org.deckfour.xes.model.XLog>- Returns:
- the number of times each event class appears at the endEvents of a trace.
-
-