SSJ
V. labo.

umontreal.iro.lecuyer.hups
Class EmptyRandomization

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

public class EmptyRandomization
extends Object
implements PointSetRandomization

EmptyRandomization

This class implements an empty umontreal.iro.lecuyer.hupsPointSetRandomization. The method randomizePointSet does nothing. The internal stream is never used. This class can be used in methods where a randomization is needed but you don't want one.


Constructor Summary
EmptyRandomization()
           
 
Method Summary
 RandomStream getStream()
          .
 void randomize(PointSet p)
          .
 void setStream(RandomStream stream)
          .
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyRandomization

public EmptyRandomization()
Method Detail

randomize

public void randomize(PointSet p)
. \begin{tabb}
 This method does nothing.
 \end{tabb}
pPoint set to randomize

Specified by:
randomize in interface PointSetRandomization

setStream

public void setStream(RandomStream stream)
. \begin{tabb}
 Sets the internal
 \externalclass{umontreal.iro.lecuyer.rng}{RandomStream} to
 \texttt{stream}.
 \end{tabb}
streamstream to use in the randomization

Specified by:
setStream in interface PointSetRandomization

getStream

public RandomStream getStream()
. \begin{tabb}
 Returns the internal
 \externalclass{umontreal.iro.lecuyer.rng}{RandomStream}.
 \end{tabb}
stream used in the randomization

Specified by:
getStream in interface PointSetRandomization

SSJ
V. labo.

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