SSJ
V. labo.

umontreal.iro.lecuyer.hups
Class SMScrambleShift

java.lang.Object
  extended by umontreal.iro.lecuyer.hups.RandomShift
      extended by umontreal.iro.lecuyer.hups.SMScrambleShift
All Implemented Interfaces:
PointSetRandomization

public class SMScrambleShift
extends RandomShift

SMScrambleShift

This class implements a umontreal.iro.lecuyer.hupsPointSetRandomization that performs a striped matrix scrambling and adds a random digital shift. Point set must be a umontreal.iro.lecuyer.hupsDigitalNet or an java.langIllegalArgumentException is thrown.


Constructor Summary
SMScrambleShift()
          .
SMScrambleShift(RandomStream stream)
          .
 
Method Summary
 void randomize(PointSet p)
          .
 
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

SMScrambleShift

public SMScrambleShift()
. \begin{tabb}
 Empty constructor.
 \end{tabb}


SMScrambleShift

public SMScrambleShift(RandomStream stream)
. \begin{tabb}
 Sets internal variable \texttt{stream} to the given
 \texttt{stream}.
 \end{tabb}
streamstream to use in the randomization

Method Detail

randomize

public void randomize(PointSet p)
. \begin{tabb}
 This method calls
 \externalmethod{umontreal.iro.lecuyer.hups}{Dig...
 ...t}, an
 \externalclass{java.lang}{IllegalArgumentException} is thrown.
 \end{tabb}
pPoint set to randomize

Specified by:
randomize in interface PointSetRandomization
Overrides:
randomize in class RandomShift

SSJ
V. labo.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.