From 424075047c41b06945801baca104a9ffb23032a3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 5 Nov 2017 12:49:16 +0100 Subject: Add stddev scalar to sample selection. --- src/powerlist.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/powerlist.h') diff --git a/src/powerlist.h b/src/powerlist.h index 9066ce1..b0938af 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -29,12 +29,14 @@ #include #include "sample.h" -#include "random.h" + +class Random; +class Settings; class PowerList { public: - PowerList(Random& rand); + PowerList(Random& rand, Settings& settings); void add(Sample* s); void finalise(); ///< Call this when no more samples will be added. @@ -49,6 +51,7 @@ private: }; Random& rand; + Settings& settings; std::vector samples; float power_max; -- cgit v1.2.3