O'Reilly logo

Behavioral Mathematics for Game AI by Dave Mark

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Uneven Distributions

Another simple probability curve to create is an uneven distribution. While not technically a recognized form of probability distribution, we can still find it useful. In a way, it is a variant of the triangular distribution above, but with the c point co-located at either a or b. Rather than use the triangular distribution method, however, we can lean on the linear function we examined in the previous chapter: the formula, y = m(x) + b where m is the slope of the line and b is the y-intercept.

The probability distribution that results from a linear distribution has very simple but identifiable characteristics. First, we can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required