|
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.LMScrambleShift
public class LMScrambleShift
This class implements a
PointSetRandomization
that performs a left matrix scrambling and adds a random digital
shift. Point set must be a
DigitalNet
or an
IllegalArgumentException
is thrown.
Constructor Summary | |
---|---|
LMScrambleShift()
Empty constructor. |
|
LMScrambleShift(RandomStream stream)
Sets internal variable stream to the given stream. |
Method Summary | |
---|---|
void |
randomize(PointSet p)
This method calls leftMatrixScramble ,
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 LMScrambleShift()
public LMScrambleShift(RandomStream stream)
stream
- stream to use in the randomizationMethod Detail |
---|
public void randomize(PointSet p)
leftMatrixScramble
,
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 |