001    package aima.probability;
002    
003    import java.util.Random;
004    
005    /**
006     * @author Ravi Mohan
007     * 
008     */
009    
010    public class JavaRandomizer implements Randomizer {
011            static Random r = new Random();
012    
013            public double nextDouble() {
014                    return r.nextDouble();
015            }
016    
017    }