Beispiel #1
0
 public FPTree(FrequentItemsCollection frequentItems)
 {
     _frequentItems = frequentItems;
     _itemsComparer = new ItemsComparerBySupport(_frequentItems);
 }
 public ItemsComparerBySupport(FrequentItemsCollection frequentItems)
 {
     _frequentItems = frequentItems;
 }
Beispiel #3
0
        private void ScanDbForFrequentItems()
        {
            var dbScanner = new TransactionDatabaseScanner(_db);

            _frequentItems = dbScanner.FindFrequentItems(_options.MinSupport);
        }