Documentation of 'ca.pfv.spmf.algorithms.frequentpatterns.dci_closed_optimized.BitMatrix' Java class
BitMatrix
ca.pfv.spmf.algorithms.frequentpatterns.dci_closed_optimized

Class BitMatrix



  • public class BitMatrix
    extends java.lang.Object
    This class represents a bix matrix as used by the optimized version of the DCI_Closed algorithm.
    See Also:
    AlgoDCI_Closed_Optimized
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addTidForItem(java.lang.Integer item, int bit)
      Add a tid to the tidset of an item.
      java.util.BitSet getBitSetOf(java.lang.Integer i)
      Get the tidset of an item
      int getSupportOfItem(int i)
      Get the support of an item (not the first time)
      int getSupportOfItemFirstTime(int i)
      Get the support of an item (first time only)
      java.lang.String toString()
      Return a string representation of the bitmatrix
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • addTidForItem

        public void addTidForItem(java.lang.Integer item,
                                  int bit)
        Add a tid to the tidset of an item.
        Parameters:
        item - the item
        bit - the bit corresponding to the tid
      • getSupportOfItemFirstTime

        public int getSupportOfItemFirstTime(int i)
        Get the support of an item (first time only)
        Parameters:
        i - the item
        Returns:
        the support
      • getSupportOfItem

        public int getSupportOfItem(int i)
        Get the support of an item (not the first time)
        Parameters:
        i - the item
        Returns:
        the support
      • getBitSetOf

        public java.util.BitSet getBitSetOf(java.lang.Integer i)
        Get the tidset of an item
        Parameters:
        i - the item
        Returns:
        a bitset representing the tidset of the item
      • toString

        public java.lang.String toString()
        Return a string representation of the bitmatrix
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.