Added other tests
Added tests for: -Average (all cases) -STD (all cases) -Anomaly detection (on a uniform distribution)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
void initializeReadings();
|
||||
void freeReadings();
|
||||
bool freeReadings();
|
||||
|
||||
int getSensorsNumber();
|
||||
int getSlidingWindowSize();
|
||||
@@ -20,6 +20,12 @@ float getOverallAverage();
|
||||
|
||||
float getStandardDeviationOnSensor(int sensorIndex);
|
||||
float getStandardDeviationOnAllSensors();
|
||||
float getStandardDeviationOnAllSensors();
|
||||
float getOverallStandardDeviation();
|
||||
|
||||
float getLastReading(int sensorIndex);
|
||||
|
||||
bool anomalyDetect(float average, float standardDeviation);
|
||||
|
||||
int getOutlierCount();
|
||||
|
||||
#endif // DATA_ACQUISITION_H
|
||||
Reference in New Issue
Block a user