Class XEventPerformanceClassifier

  • All Implemented Interfaces:
    java.lang.Comparable<org.deckfour.xes.classification.XEventClassifier>, org.deckfour.xes.classification.XEventClassifier

    public class XEventPerformanceClassifier
    extends java.lang.Object
    implements org.deckfour.xes.classification.XEventClassifier, java.lang.Comparable<org.deckfour.xes.classification.XEventClassifier>
    • Constructor Summary

      Constructors 
      Constructor Description
      XEventPerformanceClassifier​(org.deckfour.xes.classification.XEventClassifier activityClassifier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(org.deckfour.xes.model.XVisitor visitor, org.deckfour.xes.model.XLog log)
      Runs the given visitor for the given log on this classifier.
      int compareTo​(org.deckfour.xes.classification.XEventClassifier other)  
      boolean equals​(java.lang.Object obj)
      The hashcode and equals methods are used in the caching of alignments.
      org.deckfour.xes.classification.XEventClassifier getActivityClassifier()  
      java.lang.String getClassIdentity​(org.deckfour.xes.model.XEvent event)
      Retrieves the unique class identity string of a given event.
      java.lang.String[] getDefiningAttributeKeys()
      Retrieves the set of attribute keys which are used in this event classifier (May be used for the construction of events that are not part of an existing event class).
      java.lang.String getLifecycle​(org.deckfour.xes.model.XEvent event)  
      int hashCode()
      The hashcode and equals methods are used in the caching of alignments.
      java.lang.String name()
      Returns the name of this comparator
      boolean sameEventClass​(org.deckfour.xes.model.XEvent eventA, org.deckfour.xes.model.XEvent eventB)
      Checks whether two event instances correspond to the same event class, i.e.
      void setName​(java.lang.String arg0)
      Assigns a custom name to this classifier
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XEventPerformanceClassifier

        public XEventPerformanceClassifier​(org.deckfour.xes.classification.XEventClassifier activityClassifier)
    • Method Detail

      • getActivityClassifier

        public org.deckfour.xes.classification.XEventClassifier getActivityClassifier()
      • accept

        public void accept​(org.deckfour.xes.model.XVisitor visitor,
                           org.deckfour.xes.model.XLog log)
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Runs the given visitor for the given log on this classifier.
        Specified by:
        accept in interface org.deckfour.xes.classification.XEventClassifier
      • getClassIdentity

        public java.lang.String getClassIdentity​(org.deckfour.xes.model.XEvent event)
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Retrieves the unique class identity string of a given event.
        Specified by:
        getClassIdentity in interface org.deckfour.xes.classification.XEventClassifier
      • getLifecycle

        public java.lang.String getLifecycle​(org.deckfour.xes.model.XEvent event)
      • getDefiningAttributeKeys

        public java.lang.String[] getDefiningAttributeKeys()
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Retrieves the set of attribute keys which are used in this event classifier (May be used for the construction of events that are not part of an existing event class).
        Specified by:
        getDefiningAttributeKeys in interface org.deckfour.xes.classification.XEventClassifier
        Returns:
        A set of attribute keys, which are used for defining this classifier.
      • name

        public java.lang.String name()
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Returns the name of this comparator
        Specified by:
        name in interface org.deckfour.xes.classification.XEventClassifier
      • sameEventClass

        public boolean sameEventClass​(org.deckfour.xes.model.XEvent eventA,
                                      org.deckfour.xes.model.XEvent eventB)
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Checks whether two event instances correspond to the same event class, i.e. are equal in that sense.
        Specified by:
        sameEventClass in interface org.deckfour.xes.classification.XEventClassifier
      • setName

        public void setName​(java.lang.String arg0)
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Assigns a custom name to this classifier
        Specified by:
        setName in interface org.deckfour.xes.classification.XEventClassifier
        Parameters:
        arg0 - Name to be assigned to this classifier.
      • compareTo

        public int compareTo​(org.deckfour.xes.classification.XEventClassifier other)
        Specified by:
        compareTo in interface java.lang.Comparable<org.deckfour.xes.classification.XEventClassifier>
      • hashCode

        public int hashCode()
        The hashcode and equals methods are used in the caching of alignments.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        The hashcode and equals methods are used in the caching of alignments.
        Overrides:
        equals in class java.lang.Object