|
SSJ
3.3.1
Stochastic Simulation in Java
|
This class implements a umontreal.ssj.hups.PointSetRandomization that performs a striped matrix scrambling [195] and adds a random digital shift. More...
Public Member Functions | |
| SMScrambleShift () | |
| Empty constructor. | |
| SMScrambleShift (RandomStream stream) | |
Constructor that sets the 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... | |
| String | toString () |
| Returns a descriptor of this object. | |
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) | |
Constructor that 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... | |
| String | toString () |
| Returns a descriptor of this object. | |
Additional Inherited Members | |
Protected Attributes inherited from RandomShift | |
| RandomStream | stream |
This class implements a umontreal.ssj.hups.PointSetRandomization that performs a striped matrix scrambling [195] and adds a random digital shift.
Point set must be a umontreal.ssj.hups.DigitalNet or an IllegalArgumentException is thrown.
| SMScrambleShift | ( | RandomStream | stream | ) |
Constructor that sets the 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