Class Occurence


  • public class Occurence
    extends java.lang.Object
    This class represent the first and last occurences of an itemset in a sequence, as defined in the RuleGrowth algorithm.
    Author:
    Philippe Fournier-Viger
    See Also:
    AlgoRULEGROWTH, Sequence, SequenceDatabase
    • Field Summary

      Fields 
      Modifier and Type Field Description
      short firstItemset
      the first occurence
      // e.g.
      short lastItemset
      the last occurence
    • Constructor Summary

      Constructors 
      Constructor Description
      Occurence​(short firstItemset, short lastItemset)
      Constructor
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • firstItemset

        public short firstItemset
        the first occurence
        // e.g. 1 means that the occurence starts at the second itemset of the sequence
        // 2 means that the occurence starts at the third itemset of the sequence
      • lastItemset

        public short lastItemset
        the last occurence
    • Constructor Detail

      • Occurence

        public Occurence​(short firstItemset,
                         short lastItemset)
        Constructor
        Parameters:
        firstItemset - the first occurence
        lastItemset - the last occurence