umontreal.iro.lecuyer.rng
Interface CloneableRandomStream
-
- All Superinterfaces:
- java.lang.Cloneable, RandomStream
- All Known Implementing Classes:
- F2NL607, GenF2w32, LFSR113, LFSR258, MRG31k3p, MRG32k3a, MRG32k3aL, MT19937, RandMrg, RandomStreamBase, RandRijndael, WELL1024, WELL512, WELL607
public interface CloneableRandomStream extends RandomStream, java.lang.Cloneable
CloneableRandomStreamextendsRandomStreamandCloneable. All classes that implements this interface are able to produce cloned objects.The cloned object is entirely independent of the older odject. Moreover the cloned object has all the same properties as the older one. All his seeds are duplicated, and therefore both generators will produce the same random number sequence.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description CloneableRandomStreamclone()Clones the current object and returns its copy.-
Methods inherited from interface umontreal.iro.lecuyer.rng.RandomStream
nextArrayOfDouble, nextArrayOfInt, nextDouble, nextInt, resetNextSubstream, resetStartStream, resetStartSubstream, toString
-
-
-
-
Method Detail
-
clone
CloneableRandomStream clone()
Clones the current object and returns its copy.- Returns:
- A deep copy of the current object
-
-
DMelt 3.0 © DataMelt by jWork.ORG