|
SSJ
3.2.1
Stochastic Simulation in Java
|
This class implements a umontreal.ssj.hups.PointSetRandomization that performs a striped matrix scrambling and adds a random digital shift. More...
Public Member Functions | |
| SMScrambleShift () | |
| Empty constructor. | |
| SMScrambleShift (RandomStream stream) | |
Sets internal variable stream to the given stream. More... | |
| void | randomize (PointSet p) |
| This method calls umontreal.ssj.hups.DigitalNet.stripedMatrixScramble(RandomStream), then umontreal.ssj.hups.DigitalNet.addRandomShift(RandomStream). More... | |
Public Member Functions inherited from RandomShift | |
| 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... | |
Additional Inherited Members | |
Protected Attributes inherited from RandomShift | |
| RandomStream | stream |
This class implements a umontreal.ssj.hups.PointSetRandomization that performs a striped matrix scrambling and adds a random digital shift.
Point set must be a umontreal.ssj.hups.DigitalNet or an IllegalArgumentException is thrown.
| SMScrambleShift | ( | RandomStream | stream | ) |
Sets internal variable stream to the given stream.
| stream | stream to use in the randomization |
| void randomize | ( | PointSet | p | ) |
This method calls umontreal.ssj.hups.DigitalNet.stripedMatrixScramble(RandomStream), then umontreal.ssj.hups.DigitalNet.addRandomShift(RandomStream).
If p is not a umontreal.ssj.hups.DigitalNet, an IllegalArgumentException is thrown.
| p | Point set to randomize |
Implements PointSetRandomization.
1.8.14