summaryrefslogtreecommitdiff
path: root/src/powerlist.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-11-05 12:49:16 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-11-05 12:49:16 +0100
commit424075047c41b06945801baca104a9ffb23032a3 (patch)
treedcd99c984adaa68c167892d46e6b018512df1b57 /src/powerlist.h
parentf287d6244133c935f9b22f0e6302e42149ed88f3 (diff)
Add stddev scalar to sample selection.
Diffstat (limited to 'src/powerlist.h')
-rw-r--r--src/powerlist.h7
1 files changed, 5 insertions, 2 deletions
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 <vector>
#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<PowerListItem> samples;
float power_max;