Lines Matching full:distribution
13 # with the distribution.
87 print "Using random distribution with seed %d" % seed
98 F1: Factor of the first derivation of the distribution function.
99 F2: Factor of the second derivation of the distribution function.
100 With F1 and F2 set to 0, the distribution will be equal.
123 # Project the distribution into the interval [0:M].
127 # distribution.
132 # Difference factor between actual and equal distribution.
140 def Distribution(options):
174 result.add_option("--distribution-factor1", help=("Factor of the first "
175 "derivation of the distribution function"), default=2.0,
177 result.add_option("--distribution-factor2", help=("Factor of the second "
178 "derivation of the distribution function"), default=0.7,
180 result.add_option("--distribution-mode", help=("How to select deopt points "
210 result.add_option("--seed", help="The seed for the random distribution",
250 print "Unknown distribution mode %s" % options.distribution_mode
253 print ("Distribution factor1 %s is out of range. Defaulting to 0.0"
257 print ("Distribution factor2 %s is out of range. Defaulting to 0.0"
344 dist = Distribution(options)
452 distribution = dist.Distribute(n_deopt, max_deopt)
454 print "%s %s" % (t.path, distribution)
455 for i in distribution: