Documentation of 'ca.pfv.spmf.patterns.itemset_array_integers_with_tids.Itemsets' Java class
Itemsets
ca.pfv.spmf.patterns.itemset_array_integers_with_tids

Class Itemsets



  • public class Itemsets
    extends java.lang.Object
    This class represents a set of itemsets where an itemset is an array of integer with a tid list represented by a list of integers. Itemsets are ordered by size. For example, level 1 means itemsets of size 1 (that contains 1 item).
    • Constructor Summary

      Constructors 
      Constructor and Description
      Itemsets(java.lang.String name)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addItemset(Itemset itemset, int k)
      Add an itemset to this structure
      int getItemsetsCount()
      Get the total number of itemsets
      java.util.List<java.util.List<Itemset>> getLevels()
      Get all itemsets.
      void printItemsets(int nbObject)
      Print all itemsets to System.out, ordered by their size.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Itemsets

        public Itemsets(java.lang.String name)
        Constructor
        Parameters:
        name - the name of these itemsets
    • Method Detail

      • printItemsets

        public void printItemsets(int nbObject)
        Print all itemsets to System.out, ordered by their size.
        Parameters:
        nbObject - The number of transaction/sequence in the database where there itemsets were found.
      • addItemset

        public void addItemset(Itemset itemset,
                               int k)
        Add an itemset to this structure
        Parameters:
        itemset - the itemset
        k - the number of items contained in the itemset
      • getLevels

        public java.util.List<java.util.List<Itemset>> getLevels()
        Get all itemsets.
        Returns:
        A list of list of itemsets. Position i in this list is the list of itemsets of size i.
      • getItemsetsCount

        public int getItemsetsCount()
        Get the total number of itemsets
        Returns:
        the number of itemsets.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.