wpi.associations.arminerSequence
Interface FrequentItemsetsFinder

All Known Implementing Classes:
ARMinerApriori

public interface FrequentItemsetsFinder

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

Author:
Dana Cristofor, Laurentiu Cristofor, Keith A. Pray (kap@wpi.edu)

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

Method Detail

findFrequentItemsets

public int findFrequentItemsets(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