Alias method: Difference between revisions

Content deleted Content added
Tag: Reverted
Line 24:
 
As long as not all table entries are exactly full, repeat the following steps:
# Arbitrarily chooseChoose an overfull entry {{math|''U<sub>i</sub>'' > 1}} and an underfull entry {{math|''U<sub>j</sub>'' < 1}} with {{math|''U<sub>i</sub>'' -1 ≥ 1 - ''U<sub>j</sub>''}}. (If one of these exists, the other must, as well.)
# Allocate the unused space in entry {{mvar|j}} to outcome {{mvar|i}}, by setting {{math|1=''K<sub>j</sub>'' = ''i''}}.
# Remove the allocated space from entry {{mvar|i}} by changing {{math|1=''U<sub>i</sub>'' = ''U<sub>i</sub>'' − (1 − ''U<sub>j</sub>'') = ''U<sub>i</sub>'' + ''U<sub>j</sub>'' − 1}}.