You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Exercise 2.10 --- More efficient prefix-free transformation.
Shall we suppose that F is a some (not necessarily prefix-free) one-to-one representation? Otherwise, if F is not one-to-one, we cannot prove that F' is a prefix-free representation of O.
For example, if O = {a,b} and F(a) = F(b), then G(|F(a)|) = G(|F(b)|) = G(1)
=> F'(a) = G(1)F(a) = G(1)F(b)=F'(b) => F' is not prefix-free
The text was updated successfully, but these errors were encountered:
In Exercise 2.10 --- More efficient prefix-free transformation.
Shall we suppose that F is a some (not necessarily prefix-free) one-to-one representation? Otherwise, if F is not one-to-one, we cannot prove that F' is a prefix-free representation of O.
For example, if O = {a,b} and F(a) = F(b), then G(|F(a)|) = G(|F(b)|) = G(1)
=> F'(a) = G(1)F(a) = G(1)F(b)=F'(b) => F' is not prefix-free
The text was updated successfully, but these errors were encountered: