Commit 9d99a6bf authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added functionality

parent 20a69789
......@@ -5,6 +5,7 @@
#include "Errors.hpp"
struct Exponents;
class Estimator {
......@@ -16,16 +17,17 @@ protected:
public:
WelfordAggregate aggregate;
Estimator() {
config.get("epsilon", epsilon);
}
Estimator() { config.get("epsilon", epsilon); }
double TotalError() const { return errors.total; }
double NumericError() const { return errors.numeric; }
virtual double TotalError() const {
return 0.0;
}
double StochasticError() const { return errors.stochastic; }
double Epsilon() const { return epsilon; }
virtual void Method() {};
virtual std::string Name() const { return "Estimator"; };
......@@ -35,7 +37,6 @@ public:
virtual void MultilevelResults() const {};
virtual void ExponentResults() const {};
};
#endif //ESTIMATOR_HPP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment