|
SSJ
3.2.1
Stochastic Simulation in Java
|
This class implements a umontreal.ssj.hups.PointSetRandomization. More...
Public Member Functions | |
| RandomShift () | |
| Empty constructor: No stream is passed here for the randomization; one must be passed later by setStream. More... | |
| RandomShift (RandomStream stream) | |
Sets the internal umontreal.ssj.rng.RandomStream to stream. More... | |
| void | randomize (PointSet p) |
| This method calls addRandomShift(stream). More... | |
| void | setStream (RandomStream stream) |
Sets the internal umontreal.ssj.rng.RandomStream to stream. More... | |
| RandomStream | getStream () |
| Returns the internal umontreal.ssj.rng.RandomStream. More... | |
Protected Attributes | |
| RandomStream | stream |
This class implements a umontreal.ssj.hups.PointSetRandomization.
The umontreal.ssj.rng.RandomStream is stored internally. The method randomize(PointSet) simply calls addRandomShift(stream).
This class can be used as a base class to implement a specific randomization by overriding method randomize(PointSet).
| RandomShift | ( | ) |
Empty constructor: No stream is passed here for the randomization; one must be passed later by setStream.
| RandomShift | ( | RandomStream | stream | ) |
Sets the internal umontreal.ssj.rng.RandomStream to stream.
| stream | stream to use in the randomization |
| RandomStream getStream | ( | ) |
Returns the internal umontreal.ssj.rng.RandomStream.
Implements PointSetRandomization.
| void randomize | ( | PointSet | p | ) |
This method calls addRandomShift(stream).
PointSet.addRandomShift. | p | Point set to randomize |
Implements PointSetRandomization.
| void setStream | ( | RandomStream | stream | ) |
Sets the internal umontreal.ssj.rng.RandomStream to stream.
| stream | stream to use in the randomization |
Implements PointSetRandomization.
1.8.14