Home
last modified time | relevance | path

Searched refs:randomGenerator (Results 1 – 7 of 7) 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DMCInstrDescView.cpp207 std::mt19937 &randomGenerator() { in randomGenerator() function
216 return Distribution(randomGenerator()); in randomIndex()
DMCInstrDescView.h176 std::mt19937 &randomGenerator();
DLatency.cpp51 std::shuffle(Opcodes.begin(), Opcodes.end(), randomGenerator()); in generateTwoInstructionPrototype()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/X86/
DSnippetGeneratorTest.cpp57 randomGenerator().seed(0); // Initialize seed. in checkAndGetConfigurations()