private void GetSupport(List <ItemKey> itemKeys, double minSupport)
        {
            var records = new AprioriRecords();

            foreach (ItemKey itemKey in itemKeys)
            {
                int count = _dataset.GetSupport(itemKey);
                if (count >= minSupport)
                {
                    var record = new AprioriRecord(itemKey, count);
                    records.Add(record);
                    _resultDict[itemKey.CombinationId] = record;
                }
            }

            var subKeys = records.GetAllCombinationIds2();

            if (subKeys.Count == 0)
            {
                return;
            }
            else
            {
                GetSupport(subKeys, minSupport);
            }
        }
 internal void Add(AprioriRecord record)
 {
     _records.Add(record);
 }