Esempio n. 1
0
        // specifies that at <when> , the input coordinates were <coordinates> and that this is a datapoint we care to track
        public void AddDatapoint(DateTime when, LazyInputs coordinates)
        {
            ScoreSummary summary = new ScoreSummary(when);

            summary.Inputs = coordinates;
            summary.Update(this.ratingSummarizer);
            if (this.ShouldIncludeSummary(summary))
            {
                this.interpolator.AddDatapoint(summary);
                this.ratingSummariesToUpdate.Add(summary);
            }
        }
Esempio n. 2
0
 public AdaptiveInterpolation.Distribution Interpolate(LazyInputs coordinates)
 {
     return(this.interpolator.Interpolate(coordinates));
 }