diff options
Diffstat (limited to 'src/stable/randombase.h')
-rw-r--r-- | src/stable/randombase.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stable/randombase.h b/src/stable/randombase.h index 946284f..953ccb8 100644 --- a/src/stable/randombase.h +++ b/src/stable/randombase.h | |||
@@ -11,6 +11,15 @@ | |||
11 | 11 | ||
12 | namespace Bu | 12 | namespace Bu |
13 | { | 13 | { |
14 | /** | ||
15 | * Base class for random number generators. This provides some basic | ||
16 | * implementations of standard helper functions. If your specific random | ||
17 | * number generator does not use the full range of a 32 bit integer then | ||
18 | * you'll want to override at least randNorm() to correct the range. | ||
19 | * | ||
20 | * Random number generators are not thread safe on their own. See | ||
21 | * Bu::Random. | ||
22 | */ | ||
14 | class RandomBase | 23 | class RandomBase |
15 | { | 24 | { |
16 | public: | 25 | public: |