Creating Huffman's Algorithm

This is a discussion on Creating Huffman's Algorithm within the C Programming forums, part of the General Programming Boards category; I'm having problems trying to understand what functions I need to develop in order to encode this alorithm. I was ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    18

    Question Creating Huffman's Algorithm

    I'm having problems trying to understand what functions I need to develop in order to encode this alorithm. I was thinking of doing the math first and them building the tree, but I'm having a hard time grasping this concept. I'm hoping there might be an easier way. I've already developed the readin portion and a sort for the frequencies. but not sure how to develop the tree. Any ideas?

  2. #2

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling GNU MP
    By mattnp12 in forum C Programming
    Replies: 3
    Last Post: 06-23-2011, 03:58 PM
  2. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. huffman's algorithm
    By smashing_pro in forum C++ Programming
    Replies: 2
    Last Post: 04-28-2002, 09:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21