cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/testbeds/ExperimentRunner.java
public ContinuousDistribution createRandomGen(int experimentIndex, double minValue, double maxValue) {
        if (isToReuseSeedFromFirstHalfOfExperiments(experimentIndex)) {
            final int expIndexFromFirstHalf = experimentIndex - halfSimulationRuns();
            return new UniformDistr(minValue, maxValue, seeds.get(expIndexFromFirstHalf))
                    .setApplyAntitheticVariatesTechnique(true);
        }

        return new UniformDistr(minValue, maxValue, seeds.get(experimentIndex));
    }
/**
     * Creates a pseudo random number generator (PRNG) for a experiment run that
     * generates uniform values between [min and max[. If it is to apply the
     * {@link #isApplyAntitheticVariatesTechnique() "Antithetic Variates Technique"}
     * to reduce results variance, the second half of experiments will use the
     * seeds from the first half.
     *
     * @param experimentIndex
     * @param minValue the minimum value the generator will return (inclusive)
     * @param maxValue the maximum value the generator will return (exclusive)
     * @return the created PRNG
     *
     * @see UniformDistr#isApplyAntitheticVariatesTechnique()
     */
Creates a pseudo random number generator (PRNG) for a experiment run that
generates uniform values between [min and max[. If it is to apply the
#isApplyAntitheticVariatesTechnique() "Antithetic Variates Technique"
to reduce results variance, the second half of experiments will use the
seeds from the first half.

@param experimentIndex
@param minValue the minimum value the generator will return (inclusive)
@param maxValue the maximum value the generator will return (exclusive)
@return the created PRNG


Creates a pseudo random number generator ( PRNG ) for a experiment run that generates uniform values between [ min and max [ . If it is to apply the #isApplyAntitheticVariatesTechnique () " Antithetic Variates Technique " to reduce results variance the second half of experiments will use the seeds from the first half . @param experimentIndex @param minValue the minimum value the generator will return ( inclusive ) @param maxValue the maximum value the generator will return ( exclusive ) @return the created PRNG
public ContinuousDistribution createRandomGen(int experimentIndex, double minValue, double maxValue) {
        if (isToReuseSeedFromFirstHalfOfExperiments(experimentIndex)) {
            final int expIndexFromFirstHalf = experimentIndex - halfSimulationRuns();
            return new UniformDistr(minValue, maxValue, seeds.get(expIndexFromFirstHalf))
                    .setApplyAntitheticVariatesTechnique(true);
        }
        return new UniformDistr(minValue, maxValue, seeds.get(experimentIndex));
    }
public ContinuousDistribution createRandomGen ( int experimentIndex , double minValue , double maxValue ) { if ( isToReuseSeedFromFirstHalfOfExperiments ( experimentIndex ) ) { final int expIndexFromFirstHalf = experimentIndex - halfSimulationRuns ( ) ; return new UniformDistr ( minValue , maxValue , seeds . get ( expIndexFromFirstHalf ) ) . setApplyAntitheticVariatesTechnique ( true ) ; } return new UniformDistr ( minValue , maxValue , seeds . get ( experimentIndex ) ) ; }
Creates a pseudo random number generator (PRNG) for a experiment run that
 generates uniform values between [min and max[.
Creates a pseudo random number generator ( PRNG ) for a experiment run that generates uniform values between [ min and max [ .