Searched refs:randomGenerator (Results 1 – 9 of 9) sorted by relevance
34 private final RandomGenerator randomGenerator; field in RandomAdaptor40 private RandomAdaptor() { randomGenerator = null; } in RandomAdaptor()47 public RandomAdaptor(RandomGenerator randomGenerator) { in RandomAdaptor() argument48 this.randomGenerator = randomGenerator; in RandomAdaptor()58 public static Random createAdaptor(RandomGenerator randomGenerator) { in createAdaptor() argument59 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 …]
38 private static RandomGenerator randomGenerator = new JDKRandomGenerator(); field in GeneticAlgorithm88 randomGenerator = random; in setRandomGenerator()97 return randomGenerator; in getRandomGenerator()
141 public NaturalRanking(RandomGenerator randomGenerator) { in NaturalRanking() argument145 randomData = new RandomDataImpl(randomGenerator); in NaturalRanking()157 RandomGenerator randomGenerator) { in NaturalRanking() argument161 randomData = new RandomDataImpl(randomGenerator); in NaturalRanking()
40 randomGenerator().seed(0); // Initialize seed. in checkAndGetCodeTemplates()90 randomGenerator().seed(0); // Initialize seed. in TEST_F()
175 std::mt19937 &randomGenerator() { in randomGenerator() function183 return Distribution(randomGenerator()); in randomIndex()
85 std::mt19937 &randomGenerator();
45 std::shuffle(Opcodes.begin(), Opcodes.end(), randomGenerator()); in computeAliasingInstructions()
40 randomGenerator().seed(0); // Initialize seed. in checkAndGetCodeTemplates()
51 randomGenerator().seed(0); // Initialize seed. in checkAndGetCodeTemplates()152 randomGenerator().seed(0); // Initialize seed. in TEST_F()