... | ... | @@ -562,7 +562,7 @@ region is ignored). Let `prefix` be the left sum and `postfix` the |
|
|
right sum. Let `total` be the sum of all regions including the middle
|
|
|
region (if there is one).
|
|
|
|
|
|
We consider the list `LeftHeavy` if `prefix > (4 / 7) * total`,
|
|
|
We consider the region list `LeftHeavy` if `prefix > (4 / 7) * total`,
|
|
|
`RightHeavy` if `postfix > (4 / 7) * total` and `Balanced` otherwise.
|
|
|
|
|
|
The Heaviness of the list or regions tells us whether we should
|
... | ... | |