Randomization
Randomization is introduction of values in arbitrary order. Why randomization is needed?
Please imagine a program that deals with a set of numbers. For example it tries to find a median value. Median value is number that is a middle of a sorted sequence of numbers. If first answer is 42, then randomization may change it.
Randomness has a practical implementation in our daily life.
For example patients may in random order receive placebo or a new treatment in order to find out effectiveness of that treatment.
Computer games will be boring without elements of randomness.
Comments
Post a Comment