internal override void Save(BinaryWriter writer) { base.Save(writer); TimeSeriesUtils.SerializeFixedSizeQueue(LogMartingaleUpdateBuffer, writer); TimeSeriesUtils.SerializeFixedSizeQueue(RawScoreBuffer, writer); writer.Write(_logMartingaleValue); writer.Write(_sumSquaredDist); writer.Write(_martingaleAlertCounter); }
internal override void Save(BinaryWriter writer) { base.Save(writer); TimeSeriesUtils.SerializeFixedSizeQueue(WindowedBuffer, writer); TimeSeriesUtils.SerializeFixedSizeQueue(InitialWindowedBuffer, writer); }