[computer-go] [OT] All-integer scalable distribution algorithm.

Ray Tayek rtayek at ca.rr.com
Tue Nov 6 19:52:40 PST 2007


At 07:03 PM 11/6/2007, you wrote:
>...
>Returns an integer in [0-range] distributed depending on the value 
>of degree-of-randomness.  At degree-of-randomness 100, I want the 
>distribution to be uniform.  At degree-of-randomness 0, I want the 
>distribution to be  -- I don't even know what to call this -- 
>half-of-a-normal-distribution  with the steepness proportionately 
>related to degree-of-randomness.

maybe a normal (gaussian) with the standard deviation (sigma) 
proportional to the degree of randomness. but clip the tails. see the 
graphs of the normal density function: 
http://en.wikipedia.org/wiki/Normal_distribution. a larger variance 
will get you a flatter curve that will approach a uniform distribution.


---
vice-chair http://ocjug.org/




More information about the computer-go mailing list