Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 internal override void Save(BinaryWriter writer)
 {
     base.Save(writer);
     TimeSeriesUtils.SerializeFixedSizeQueue(WindowedBuffer, writer);
     TimeSeriesUtils.SerializeFixedSizeQueue(InitialWindowedBuffer, writer);
 }