Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Getting Huffman tree height without performing Huffman algorithm? (Was: Generating Huffman codes
"David A. Scott" <daVvid_a_scott@email.com> wrote in message news:Xns95795079389D1H110W296L
C45WIN3030R@130.133.1.4...
> "Alex Vinokur" <alexvn@big-foot.com> wrote in
> news:2sdoocF1k3nr0U1@uni-berlin.de:
[snip] 
>
>  But what about this its a strictly worse case tree and
> it has less weight than what you called the strictly
> worse case than the Fibonacci you clained as worst case.
>
>                       17
>                       /\
>                      /  \
>                    10    7
>                    /\
>                   /  \
>                  6    4
>                 /\
>                /  \
>               3    3
>              /\
>             /  \
>            2    1
>           /\
>          /  \
>         1    1
>
[snip]

You are correct. Thanks.

This is the Lucas sequence.
The cost of the Huffman tree for that sequence is S(n) = F(n + 3) + F(n + 1)
 - (n + 3).

My mistake has been caused by attempt to simplify definitions from my postin
g titled
"Fibonacci numbers, Lucas numbers and Huffman codes" at
http://groups.google.com/groups?sel...0uni-berlin.de.

Sorry.

--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn



Report this thread to moderator Post Follow-up to this message
Old Post
Alex Vinokur
10-05-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compression archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:46 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.