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

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

            stats.update(actualFutureChange, prediction);
        }