#include <abkrand.h>
Inheritance diagram for RandomRoot:


Public Member Functions | |
| unsigned | getSeed () const |
| const char * | getLocIdent () const |
| unsigned | getCounter () const |
| const Verbosity & | getVerbosity () const |
Static Public Member Functions | |
| unsigned | getExternalSeed () |
Static Public Attributes | |
| const double | randTick = 1/(0xffffffff + 1.0) |
| author="Mike Oliver" | |
Protected Member Functions | |
| RandomRoot (unsigned seed=UINT_MAX, Verbosity verb=Verbosity("silent")) | |
| RandomRoot (const char *locIdent, unsigned counterOverride=UINT_MAX, Verbosity verb=Verbosity("silent")) | |
Protected Attributes | |
| unsigned | _seed |
| Verbosity | _verb |
Private Attributes | |
| SeedHandler | _handler |
|
||||||||||||
|
Definition at line 107 of file abkrand.h. References _handler, SeedHandler::_seed, _seed, and _verb.
|
|
||||||||||||||||
|
Definition at line 50 of file abkroot.cxx. References SeedHandler::_counter, SeedHandler::_externalSeed, _handler, and SeedHandler::_locIdent.
00052 : 00053 _handler(locIdent,counterOverride),_verb(verb) 00054 { 00055 if (verb.forMajStats) 00056 cout << "External seed = " << _handler._externalSeed 00057 << " local id = " << _handler._locIdent 00058 << " counter = " << _handler._counter 00059 << endl; 00060 } |
|
|
Definition at line 74 of file abkroot.cxx. References SeedHandler::_counter, _handler, SeedHandler::_isSeedMultipartite, and abkfatal. Referenced by Tausworthe::_encryptBufMultipartiteSeed().
00075 {
00076 abkfatal(_handler._isSeedMultipartite,"Can't call getLocIdent() "
00077 "with old-style seed");
00078 return _handler._counter;
00079 }
|
|
|
Definition at line 62 of file abkroot.cxx. References SeedHandler::_externalSeed. Referenced by Tausworthe::_encryptBufMultipartiteSeed().
00063 {
00064 return SeedHandler::_externalSeed;
00065 }
|
|
|
Definition at line 67 of file abkroot.cxx. References _handler, SeedHandler::_isSeedMultipartite, SeedHandler::_locIdent, and abkfatal. Referenced by Tausworthe::_encryptBufMultipartiteSeed().
00068 {
00069 abkfatal(_handler._isSeedMultipartite,"Can't call getLocIdent() "
00070 "with old-style seed");
00071 return _handler._locIdent;
00072 }
|
|
|
Definition at line 122 of file abkrand.h. References _handler, SeedHandler::_isSeedMultipartite, _seed, and abkfatal.
00123 {
00124 abkfatal(!_handler._isSeedMultipartite,"can't use getSeed() "
00125 "with multipartite seed");
00126 return _seed;
00127 }
|
|
|
Definition at line 133 of file abkrand.h. References _verb.
00133 {return _verb;}
|
|
|
Definition at line 103 of file abkrand.h. Referenced by getCounter(), getLocIdent(), getSeed(), and RandomRoot(). |
|
|
Definition at line 105 of file abkrand.h. Referenced by Tausworthe::_encryptWithSeed(), getSeed(), and RandomRoot(). |
|
|
Definition at line 106 of file abkrand.h. Referenced by getVerbosity(), and RandomRoot(). |
|
|
author="Mike Oliver"
Definition at line 48 of file abkroot.cxx. Referenced by Tausworthe::_getRawDouble(). |
1.3.2