public static RandomWrapper getRandom(long seed) { RandomWrapper random = new RandomWrapper(seed); INSTANCES[random] = true; return(random); }
public static RandomWrapper getRandom() { RandomWrapper random = new RandomWrapper(); if (testSeed) { random.resetToTestSeed(); } INSTANCES[random ] = true; return random; }
public static RandomWrapper getRandom() { RandomWrapper random = new RandomWrapper(); if (testSeed) { random.resetToTestSeed(); } INSTANCES[random] = true; return(random); }
public GenericRecommenderIRStatsEvaluator(IRelevantItemsDataSplitter dataSplitter) { //Preconditions.checkNotNull(dataSplitter); random = RandomUtils.getRandom(); this.dataSplitter = dataSplitter; }
protected AbstractDifferenceRecommenderEvaluator() { random = RandomUtils.getRandom(); maxPreference = float.NaN; minPreference = float.NaN; }
public static RandomWrapper getRandom(long seed) { RandomWrapper random = new RandomWrapper(seed); INSTANCES[random] = true; return random; }