projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New rank/select data structure based on sadakane's code
[SXSI/XMLTree.git]
/
libcds
/
src
/
coders
/
huffman_codes.h
diff --git
a/libcds/src/coders/huffman_codes.h
b/libcds/src/coders/huffman_codes.h
index
a82c8dd
..
7538225
100644
(file)
--- a/
libcds/src/coders/huffman_codes.h
+++ b/
libcds/src/coders/huffman_codes.h
@@
-34,6
+34,7
@@
class huffman_codes {
public:
/** Creates the codes for the sequence seq of length n */
huffman_codes(uint * seq, uint n);
public:
/** Creates the codes for the sequence seq of length n */
huffman_codes(uint * seq, uint n);
+ huffman_codes(uchar * seq, uint n);
~huffman_codes();
/** Encodes symb into stream at bit-position pos, return the ending position (bits) */
~huffman_codes();
/** Encodes symb into stream at bit-position pos, return the ending position (bits) */