A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://umontreal-simul.github.io/ssj/docs/master/classumontreal_1_1ssj_1_1hups_1_1RandomShift.html below:

SSJ: RandomShift Class Reference

This class implements a umontreal.ssj.hups.PointSetRandomization. More...

This class implements a umontreal.ssj.hups.PointSetRandomization.

When the PointSet to be randomized is a DigitalNet, the random shift is a random digital shift, otherwise it is a random shift modulo 1. The umontreal.ssj.rng.RandomStream is stored internally.

In the current implementation, the method randomize(PointSet) simply calls addRandomShift(stream). This may change in the future. This class can be used as a base class to implement a specific randomization by overriding randomize(PointSet).

◆ RandomShift() [1/2]

Empty constructor: No stream is passed here for the randomization; one must be passed later by setStream.

Pierre: Not sure if we should keep this; we always need a stream!

◆ RandomShift() [2/2] ◆ getStream() ◆ randomize() ◆ setStream()

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4