10 #include <calibration/CalibrationAlgorithm.h>
11 #include <framework/database/DBObjPtr.h>
12 #include <calibration/dbobjects/TestCalibMean.h>
30 void setGeneratePayloads(
const bool& value) {m_generatePayloads = value;}
31 bool getGeneratePayloads()
const {
return m_generatePayloads;}
41 void generateNewPayloads();
43 bool m_generatePayloads =
true;
44 DBObjPtr<TestCalibMean> m_dbMean;
Base class for calibration algorithms.
EResult
The result of calibration.
Test class implementing calibration algorithm.
virtual ~TestDBAccessAlgorithm()
Destructor.
TestDBAccessAlgorithm()
Constructor set the prefix to TestCalibration.
void saveSameMeans()
Saves the same DB values for each run into a new localdb, otherwise we aren't creating a DB this iter...
float getAverageDistanceFromAnswer()
Grabs DBObjects from the Database and finds out the average distance from 42.
virtual EResult calibrate() override
Run algo on data.
void reduceDistancesAndSave()
Saves new DB values for each run where they are a little closer to 42.
Abstract base class for different kinds of events.