Home
last modified time | relevance | path

Searched refs:randomGenerator (Results 1 – 9 of 9) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomAdaptor.java34 private final RandomGenerator randomGenerator; field in RandomAdaptor
40 private RandomAdaptor() { randomGenerator = null; } in RandomAdaptor()
47 public RandomAdaptor(RandomGenerator randomGenerator) { in RandomAdaptor() argument
48 this.randomGenerator = randomGenerator; in RandomAdaptor()
58 public static Random createAdaptor(RandomGenerator randomGenerator) { in createAdaptor() argument
59 return new RandomAdaptor(randomGenerator); in createAdaptor()
73 return randomGenerator.nextBoolean(); in nextBoolean()
86 randomGenerator.nextBytes(bytes); in nextBytes()
100 return randomGenerator.nextDouble(); in nextDouble()
114 return randomGenerator.nextFloat(); in nextFloat()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DGeneticAlgorithm.java38 private static RandomGenerator randomGenerator = new JDKRandomGenerator(); field in GeneticAlgorithm
88 randomGenerator = random; in setRandomGenerator()
97 return randomGenerator; in getRandomGenerator()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/
DNaturalRanking.java141 public NaturalRanking(RandomGenerator randomGenerator) { in NaturalRanking() argument
145 randomData = new RandomDataImpl(randomGenerator); in NaturalRanking()
157 RandomGenerator randomGenerator) { in NaturalRanking() argument
161 randomData = new RandomDataImpl(randomGenerator); in NaturalRanking()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/
DSnippetGeneratorTest.cpp40 randomGenerator().seed(0); // Initialize seed. in checkAndGetCodeTemplates()
90 randomGenerator().seed(0); // Initialize seed. in TEST_F()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DSnippetGenerator.cpp175 std::mt19937 &randomGenerator() { in randomGenerator() function
183 return Distribution(randomGenerator()); in randomIndex()
DSnippetGenerator.h85 std::mt19937 &randomGenerator();
DSerialSnippetGenerator.cpp45 std::shuffle(Opcodes.begin(), Opcodes.end(), randomGenerator()); in computeAliasingInstructions()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/
DSnippetGeneratorTest.cpp40 randomGenerator().seed(0); // Initialize seed. in checkAndGetCodeTemplates()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
DSnippetGeneratorTest.cpp51 randomGenerator().seed(0); // Initialize seed. in checkAndGetCodeTemplates()
152 randomGenerator().seed(0); // Initialize seed. in TEST_F()