Beispiel #1
0
        private SetStats getSetStats(DataSetName setName)
        {
            SetStats stat = stats[setName];

            if (stat == null)
            {
                stat           = new SetStats();
                stats[setName] = stat;
            }
            return(stat);
        }
Beispiel #2
0
        public virtual void update(DataSetName setName, double actualFutureChange, Prediction prediction)
        {
            SetStats stats = getSetStats(setName);

            stats.update(actualFutureChange, prediction);
        }