Class 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.XEventClasses getEventClasses()
      Deprecated.
      Returns the event classes defined in the log and used in the relations
      java.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.XLog getLog()
      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.XLog getSource()
      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.XLogInfo getSummary()
      Deprecated.
      Returns the summary of the log, corresponding to the getEventClasses method
      java.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: EventRelations
        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.

        The double value indicates the strength of the causal dependency and should be between 0 and 1 (inclusive).

        Specified by:
        getCausalDependencies in interface EventRelations<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: LogRelations
        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. The range and meaning of the value depends on the implementing class!
        Specified by:
        causalDependencies in interface LogRelations
        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: LogRelations
        Tells 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:
        getEndTraceInfo in interface LogRelations
        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: EventRelations
        Returns the event classes defined in the log and used in the relations
        Specified by:
        getEventClasses in interface EventRelations<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: EventRelations
        Returns 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:
        absoluteDirectlyFollowsMatrix in interface EventRelations<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: EventRelations
        Returns 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:
        causalMatrix in interface EventRelations<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: EventRelations
        Returns a map from self-loop event classes to integers.
        Specified by:
        getLengthOneLoops in interface EventRelations<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: EventRelations
        Returns a map from self-loop event classes to doubles.
        Specified by:
        lengthOneLoops in interface EventRelations<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: EventRelations
        Returns a map from pairs of event classes to integers for which it is known that they are in length-two loop situations.
        Specified by:
        getLengthTwoLoops in interface EventRelations<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: EventRelations
        Returns a map from pairs of event classes to doubles for which it is known that they are in length-two loop situations.
        Specified by:
        lengthTwoLoops in interface EventRelations<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: LogRelations
        Returns the log on which these abstractions are based.
        Specified by:
        getLog in interface LogRelations
        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: EventRelations
        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.

        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:
        getParallelRelations in interface EventRelations<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: LogRelations
        Tells 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:
        getStartTraceInfo in interface LogRelations
        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: LogRelations
        Returns the summary of the log, corresponding to the getEventClasses method
        Specified by:
        getSummary in interface LogRelations
        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: EventRelations
        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.

        The integer value indicates how often the first event is directly followed by the second event.

        Specified by:
        getDirectFollowsDependencies in interface EventRelations<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:
        getCountDirect in interface LogRelations
      • getSource

        public org.deckfour.xes.model.XLog getSource()
        Deprecated.
        Specified by:
        getSource in interface EventRelations<org.deckfour.xes.model.XLog>
      • getStartEvents

        public java.util.Map<org.deckfour.xes.classification.XEventClass,​java.lang.Integer> getStartEvents()
        Deprecated.
        Description copied from interface: EventRelations
        Tells 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:
        getStartEvents in interface EventRelations<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: EventRelations
        Tells 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:
        getEndEvents in interface EventRelations<org.deckfour.xes.model.XLog>
        Returns:
        the number of times each event class appears at the endEvents of a trace.