SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | Protected Attributes | List of all members
EmptyRandomization Class Reference

This class implements an empty umontreal.ssj.hups.PointSetRandomization. More...

Inheritance diagram for EmptyRandomization:
[legend]
Collaboration diagram for EmptyRandomization:
[legend]

Public Member Functions

void randomize (PointSet p)
 This method does nothing. More...
 
void setStream (RandomStream stream)
 Sets the internal umontreal.ssj.rng.RandomStream to stream. More...
 
RandomStream getStream ()
 Returns the internal umontreal.ssj.rng.RandomStream. More...
 

Protected Attributes

RandomStream stream
 

Detailed Description

This class implements an empty umontreal.ssj.hups.PointSetRandomization.

The method randomize(PointSet) 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.

Member Function Documentation

◆ getStream()

RandomStream getStream ( )

Returns the internal umontreal.ssj.rng.RandomStream.

Returns
stream used in the randomization

Implements PointSetRandomization.

◆ randomize()

void randomize ( PointSet  p)

This method does nothing.

Parameters
pPoint set to randomize

Implements PointSetRandomization.

◆ setStream()

void setStream ( RandomStream  stream)

Sets the internal umontreal.ssj.rng.RandomStream to stream.

Parameters
streamstream to use in the randomization

Implements PointSetRandomization.


The documentation for this class was generated from the following file: