wpi.associations.arminer
Interface LargeItemsetsFinder

All Known Implementing Classes:
ARMinerApriori

public interface LargeItemsetsFinder

LargeItemsetsFinder.java

This interface must be implemented by the algorithms that will look for large itemsets.


Method Summary
 int findLargeItemsets(DBReader dbReader, DBCacheWriter cacheWriter, float minSupport)
          Find the frequent itemsets in a database
 

Method Detail

findLargeItemsets

public int findLargeItemsets(DBReader dbReader,
                             DBCacheWriter cacheWriter,
                             float minSupport)
Find the frequent itemsets in a database

Parameters:
dbReader - the object used to read from the database
cacheWriter - the object used to write to the cache if this is null, then nothing will be saved, this is useful for benchmarking
minSupport - the minimum support
Returns:
the number of passes executed over the database