This interface is for a randomization that can be used to randomize a umontreal.ssj.hups.PointSet. More...
Public Member Functions | |
| void | randomize (PointSet p) |
| This method must randomize p. | |
| void | setStream (RandomStream stream) |
| Sets the internal umontreal.ssj.rng.RandomStream to stream. | |
| RandomStream | getStream () |
| Returns the internal umontreal.ssj.rng.RandomStream. | |
This interface is for a randomization that can be used to randomize a umontreal.ssj.hups.PointSet.
One can implement method randomize(PointSet) in any way. This method must use an internal umontreal.ssj.rng.RandomStream. This stream can be set in the constructor, but the methods getStream and setStream(RandomStream) must also be implemented.
The method randomize(PointSet) can be implemented using combinations of the randomization methods from the point set such as umontreal.ssj.hups.PointSet.addRandomShift, umontreal.ssj.hups.DigitalNet.leftMatrixScramble, umontreal.ssj.hups.DigitalNet.stripedMatrixScramble, etc.
Definition at line 45 of file PointSetRandomization.java.
| RandomStream umontreal.ssj.hups.PointSetRandomization.getStream | ( | ) |
Returns the internal umontreal.ssj.rng.RandomStream.
Implemented in umontreal.ssj.hups.EmptyRandomization, umontreal.ssj.hups.NestedUniformScrambling, umontreal.ssj.hups.RandomShift, and umontreal.ssj.hups.RandomStart.
| void umontreal.ssj.hups.PointSetRandomization.randomize | ( | PointSet | p | ) |
This method must randomize p.
| p | Point set to randomize |
Implemented in umontreal.ssj.hups.EmptyRandomization, umontreal.ssj.hups.LMScramble, umontreal.ssj.hups.LMScrambleShift, umontreal.ssj.hups.NestedUniformScrambling, umontreal.ssj.hups.RandomShift, umontreal.ssj.hups.RandomStart, and umontreal.ssj.hups.SMScrambleShift.
| void umontreal.ssj.hups.PointSetRandomization.setStream | ( | RandomStream | stream | ) |
Sets the internal umontreal.ssj.rng.RandomStream to stream.
| stream | stream to use in the randomization |
Implemented in umontreal.ssj.hups.EmptyRandomization, umontreal.ssj.hups.NestedUniformScrambling, umontreal.ssj.hups.RandomShift, and umontreal.ssj.hups.RandomStart.