diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-03-24 00:11:28 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-29 22:18:48 +0200 |
commit | 866b09992668f97af063dcd77dc5dd0e3a512b94 (patch) | |
tree | dfeffaa3eb1a559d746d04f3fbb7402e74d1b290 /src/powerlist.h | |
parent | efe93864d53f72be4fa4dfe003f0f7578fc558e2 (diff) |
New Random class for convenient random number generation.
Diffstat (limited to 'src/powerlist.h')
-rw-r--r-- | src/powerlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/powerlist.h b/src/powerlist.h index 43f51d2..1077d8c 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -30,6 +30,7 @@ #include <vector> #include "sample.h" +#include "random.h" class PowerList { public: @@ -47,6 +48,8 @@ private: float power; }; + Random rand; + std::vector<PowerListItem> samples; float power_max; float power_min; |