Replies: 1 comment
-
Hi! Infomap doesn't need to generate Huffman codes in practice, instead we calculate the stationary visit-rates. We call the visit-rates "flow", and you can find those values in the second column of the tree file. If you want to assign Huffman codes, you can use those values and put it into a Huffman code generator or implement it yourself. We have a visualization of what a modular Huffman coding scheme would look like, but as I said, we don't need to do that in practice. Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, can you tell me how to get Huffman code for each of the nodes?
Beta Was this translation helpful? Give feedback.
All reactions