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):
171 result.add_option("--distribution-factor1", help=("Factor of the first "
172 "derivation of the distribution function"), default=2.0,
174 result.add_option("--distribution-factor2", help=("Factor of the second "
175 "derivation of the distribution function"), default=0.7,
177 result.add_option("--distribution-mode", help=("How to select deopt points "
207 result.add_option("--seed", help="The seed for the random distribution",
243 print "Unknown distribution mode %s" % options.distribution_mode
246 print ("Distribution factor1 %s is out of range. Defaulting to 0.0"
250 print ("Distribution factor2 %s is out of range. Defaulting to 0.0"
334 dist = Distribution(options)
438 distribution = dist.Distribute(n_deopt, max_deopt)
440 print "%s %s" % (t.path, distribution)
441 for i in distribution: