
com.github.vangj.jbayes.inf.prob.util.RandomUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbayes-inference Show documentation
Show all versions of jbayes-inference Show documentation
A very cool project for BBN inference using approximate and exact algorithms.
The newest version!
package com.github.vangj.jbayes.inf.prob.util;
import java.util.Random;
/**
* Util class to generate random numbers.
*/
public class RandomUtil {
private static final Random R = new Random(37L);
private RandomUtil() {
}
public static double nextDouble() {
return R.nextDouble();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy