I'm having a few problems actually generating random numbers using a Java implementation of the Mersenne Twister Random Number Generator from (
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/JAVA/MTRandom.java). I've only had 1 years wort of experience in Java so you might understand the problem. What I want to be able to do is actually generate a random number for my project comparing different Random Number Generators. For example, to generate a random number using Math.random( ) you would simply do the following:
double myVar = Math.random( );
Now, how would you do the same for the Mersenne Twister java implementation listed above? do I need to import anything?
A worked out example in Java would be greatly appreciated.