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/


_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to