1 |
< |
/* |
1 |
> |
/* |
2 |
|
* Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
3 |
|
* |
4 |
|
* The University of Notre Dame grants you ("Licensee") a |
49 |
|
|
50 |
|
namespace oopse { |
51 |
|
|
52 |
< |
/** |
53 |
< |
* @class SeqRandNumGen a sequential random number generator |
54 |
< |
*/ |
55 |
< |
class SeqRandNumGen : public RandNumGen{ |
56 |
< |
public: |
57 |
< |
typedef unsigned long uint32; |
52 |
> |
/** |
53 |
> |
* @class SeqRandNumGen a sequential random number generator |
54 |
> |
*/ |
55 |
> |
class SeqRandNumGen : public RandNumGen{ |
56 |
> |
public: |
57 |
> |
typedef unsigned long uint32; |
58 |
|
|
59 |
< |
SeqRandNumGen( const uint32& oneSeed); |
59 |
> |
SeqRandNumGen( const uint32& oneSeed); |
60 |
|
|
61 |
< |
SeqRandNumGen(); |
61 |
> |
SeqRandNumGen(); |
62 |
|
|
63 |
< |
virtual void seed( const uint32 oneSeed ); |
63 |
> |
virtual void seed( const uint32 oneSeed ); |
64 |
|
|
65 |
< |
virtual void seed(); |
65 |
> |
virtual void seed(); |
66 |
|
|
67 |
< |
private: |
68 |
< |
SeqRandNumGen(const SeqRandNumGen&); |
69 |
< |
SeqRandNumGen& operator =(const SeqRandNumGen&); |
67 |
> |
private: |
68 |
> |
SeqRandNumGen(const SeqRandNumGen&); |
69 |
> |
SeqRandNumGen& operator =(const SeqRandNumGen&); |
70 |
|
|
71 |
< |
static int nCreatedRNG_; /**< number of created random number of generator*/ |
71 |
> |
static int nCreatedRNG_; /**< number of created random number of generator*/ |
72 |
|
|
73 |
< |
}; |
73 |
> |
}; |
74 |
|
|
75 |
|
} |
76 |
|
|