This class can be used to generate a sequence of pseudo random numbers.

Namespace: yWorks.yFiles.Util
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public class Random
Visual Basic
Public Class Random

Remarks

This class can be used to generate a sequence of pseudo random numbers.

This class can be used with a specified seed value, either at initialization ( Random(Int64) ) or on the fly ( Seed . Two instances with the same seed will return the same sequence of random numbers.

This implementation uses the the algorithms as specified from java.util.Random from the Java Runtime: Java implementations must use all the algorithms shown here for the class Random, for the sake of absolute portability of Java code.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Util..::..Random
    yWorks.yFiles.Algorithms.Util..::..YRandom

See Also