Searched refs:randomGenerator (Results 1 – 7 of 7) 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()
207 std::mt19937 &randomGenerator() { in randomGenerator() function216 return Distribution(randomGenerator()); in randomIndex()
176 std::mt19937 &randomGenerator();
51 std::shuffle(Opcodes.begin(), Opcodes.end(), randomGenerator()); in generateTwoInstructionPrototype()
57 randomGenerator().seed(0); // Initialize seed. in checkAndGetConfigurations()