Class Anomaly
Flags a reading that stands out from the ones around it.
public sealed class Anomaly : IDisposable
- Inheritance
-
Anomaly
- Implements
- Inherited Members
Constructors
Anomaly(float)
Creates a detector that flags a reading so many deviations out.
public Anomaly(float sigmas)
Parameters
sigmasfloatHow far from the mean a reading must be to be flagged.
Exceptions
- PamojaException
The native detector could not be created.
Methods
Check(float)
Folds a reading in and reports whether it stands out.
public bool Check(float reading)
Parameters
readingfloatThe reading to check.
Returns
- bool
Whether the reading is further from the mean than the configured number of deviations. A window still filling reports
false.
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()