Documentation of 'ca.pfv.spmf.algorithms.frequentpatterns.itemsettree.HashTableIT' Java class
HashTableIT
ca.pfv.spmf.algorithms.frequentpatterns.itemsettree

Class HashTableIT



  • public class HashTableIT
    extends java.lang.Object
    This class represents a hash table for storing itemsets. Copyright (c) 2008-2012 Philippe Fournier-Viger This file is part of the SPMF DATA MINING SOFTWARE (http://www.philippe-fournier-viger.com/spmf). SPMF is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SPMF is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SPMF. If not, see .
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.util.List<Itemset>[] table 
    • Constructor Summary

      Constructors 
      Constructor and Description
      HashTableIT(int size)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int hashCode(int[] items)
      Calculate the hashcode of an itemset.
      void put(int[] items, int support)
      Add an itemset to the hash table.
      • Methods inherited from class java.lang.Object

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

      • table

        public java.util.List<Itemset>[] table
    • Constructor Detail

      • HashTableIT

        public HashTableIT(int size)
        Constructor
        Parameters:
        size - the size of the internal array
    • Method Detail

      • put

        public void put(int[] items,
                        int support)
        Add an itemset to the hash table.
        Parameters:
        items - an itemset represented as a int array.
        support - the support of the itemset
      • hashCode

        public int hashCode(int[] items)
        Calculate the hashcode of an itemset.
        Parameters:
        items - an itemset
        Returns:
        the hashcode as a int

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.