Esempio n. 1
0
 private protected AnomalyDetectionStateBase(BinaryReader reader) : base(reader)
 {
     LogMartingaleUpdateBuffer = TimeSeriesUtils.DeserializeFixedSizeQueueDouble(reader, Host);
     RawScoreBuffer            = TimeSeriesUtils.DeserializeFixedSizeQueueSingle(reader, Host);
     _logMartingaleValue       = reader.ReadDouble();
     _sumSquaredDist           = reader.ReadDouble();
     _martingaleAlertCounter   = reader.ReadInt32();
 }
Esempio n. 2
0
 internal State(BinaryReader reader) : base(reader)
 {
     WindowedBuffer        = TimeSeriesUtils.DeserializeFixedSizeQueueSingle(reader, Host);
     InitialWindowedBuffer = TimeSeriesUtils.DeserializeFixedSizeQueueSingle(reader, Host);
 }