Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercise 2.10 #841

Open
gzs715 opened this issue Oct 25, 2024 · 0 comments
Open

Exercise 2.10 #841

gzs715 opened this issue Oct 25, 2024 · 0 comments

Comments

@gzs715
Copy link

gzs715 commented Oct 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant