public class EmptyRandomization extends java.lang.Object implements PointSetRandomization
PointSetRandomization.
The method randomize 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 and Description |
|---|
EmptyRandomization() |
| Modifier and Type | Method and Description |
|---|---|
RandomStream |
getStream()
Returns the internal
RandomStream. |
void |
randomize(PointSet p)
This method does nothing.
|
void |
setStream(RandomStream stream)
Sets the internal
RandomStream to
stream. |
public void randomize(PointSet p)
randomize in interface PointSetRandomizationp - Point set to randomizepublic void setStream(RandomStream stream)
RandomStream to
stream.setStream in interface PointSetRandomizationstream - stream to use in the randomizationpublic RandomStream getStream()
RandomStream.getStream in interface PointSetRandomizationTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.