Example 2 (Aliasing precomputation)
Let

a random variable defined on the space states

by the probability distribution

:
At the start of computation, we have respectively, "low" and "high" set :
and
Figure 1.1:
Aliasing construction : initial step.
 |
Figure 1.2:
Aliasing construction : first step.
 |

et

.
Figure 1.3:
Aliasing construction : second step.
 |
Figure 1.4:
Aliasing construction : third step.
 |

et

.
Figure 1.5:
Aliasing construction : final step.
 |

et
Figure 1.6:
Aliasing construction : end of construction.
 |