LinearCongruentialGenerator Constructor Encog Machine Learning Framework for .Net
Overload List

Public methodLinearCongruentialGenerator(Int64)
Construct the default LCG. You need only specify a seed.
Public methodLinearCongruentialGenerator(Int64, Int64, Int64, Int64)
Create a LCG with the specified modulus, multiplier and increment. Unless you REALLY KNOW WHAT YOU ARE DOING, just use the constructor that just takes a seed. It will set these values to the same as set by the GCC C compiler. Setting these values wrong can create fairly useless random numbers.
See Also