next up previous contents
Next: Monte Carlo Simulation Up: The Monte Carlo Method Previous: The Monte Carlo Method

Randomized Algorithms and Probability

A randomized algorithm is an algorithm that makes at least one decision based upon a random choice, rather than a fixed rule.

At first glance, it may seem surprising (or even unbelievable) that incorporating an element of chance into an algorithm can result in a correct and efficient algorithm, but as we will see in this chapter, there are many situations where randomness is extremely effective.

Randomized algorithms generally depend upon the laws of probability, and therefore before we begin studying randomized algorithms, it makes sense to formally define some of the terms and concepts of probability.

For example, consider the act of rolling a 6-sided die. The procedure consisting of rolling the die and reporting which face is visible is the experiment; and each time we actually perform this procedure we are performing a trial. We can roll the die as often as we like, and every time we roll the die the outcome (i.e. which side of the die is showing) must be one of the 6 sides.gif Each possible side of the die is a possible sample outcome, and these six possibilities constitute the entire sample space.

We can define a number of possible events for this experiment- for example, rolling any particular number, or rolling an odd number, or rolling a number less than four.


next up previous contents
Next: Monte Carlo Simulation Up: The Monte Carlo Method Previous: The Monte Carlo Method

Dan Ellard
Mon Jul 21 22:30:59 EDT 1997