public override void Add(IRow row) { var weightedIndexList = row.GetField <WeightedIndexList>(Index); if (weightedIndexList?.IndexList != null) { foreach (var item in weightedIndexList.IndexList) { if (_curr.TryGetValue(item.Index, out var numericSummariser)) { numericSummariser.Add(item.Weight); } else { var val = new NumericSummariser(-1); val.Add(item.Weight); _curr.Add(item.Index, val); } } } }
public DateSummariser(int index) : base(index) { _numericSummary = new NumericSummariser(-1); }