|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.hups.RandomShift umontreal.iro.lecuyer.hups.SMScrambleShift
public class SMScrambleShift
This class implements a
PointSetRandomization
that performs a striped matrix scrambling and adds a random
digital shift. Point set must be a
DigitalNet
or an
IllegalArgumentException
is thrown.
Constructor Summary | |
---|---|
SMScrambleShift()
Empty constructor. |
|
SMScrambleShift(RandomStream stream)
Sets internal variable stream to the given stream. |
Method Summary | |
---|---|
void |
randomize(PointSet p)
This method calls stripedMatrixScramble ,
then
addRandomShift . |
Methods inherited from class umontreal.iro.lecuyer.hups.RandomShift |
---|
getStream, setStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SMScrambleShift()
public SMScrambleShift(RandomStream stream)
stream
- stream to use in the randomizationMethod Detail |
---|
public void randomize(PointSet p)
stripedMatrixScramble
,
then
addRandomShift
.
If p is not a
DigitalNet
, an
IllegalArgumentException
is thrown.
randomize
in interface PointSetRandomization
randomize
in class RandomShift
p
- Point set to randomize
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |