Collaboration diagram for FrequentFilter< IT_R >:
Public Member Functions | |
FrequentFilter (IT_R &it_r) | |
void | findFrequentItems (std::vector< std::pair< counter_t, item_t > > &freq_items_with_counters, counter_t &nr_of_transactions, counter_t &min_supp, bool relative=false, double relminsupp=0.0) |
if relative=true then relminsupp will be used to calculate the absolute minimum support, which will be stored in min_supp. | |
Private Attributes | |
IT_R & | it_r |
It just reads in transactions one-by-one, increases the counter of the items, and then selects the frequent items.
IT_R | the transaction reader |
Definition at line 18 of file FrequentFilter.cpp.
|
|
|
if relative=true then relminsupp will be used to calculate the absolute minimum support, which will be stored in min_supp. relminsupp is a real number in [0,1]. (Thus not a percentage) Definition at line 45 of file FrequentFilter.cpp. References FrequentFilter< IT_R >::it_r. Referenced by DBCacheTester::doTest(), and main(). |
|
Definition at line 33 of file FrequentFilter.cpp. Referenced by FrequentFilter< IT_R >::findFrequentItems(). |