0001 /****************************************************************************************** 0002 * PFC编码使用的数据结构 0003 ******************************************************************************************/ 0004 #include "BinTree/BinTree.h" //用BinTree实现PFC树 0005 using PFCTree = BinTree<char>; //PFC树 0006 0007 #include "Vector/Vector.h" //用Vector实现PFC森林 0008 using PFCForest = Vector<PFCTree*>; //PFC森林 0009 0010 #include "Bitmap/Bitmap.h" //使用位图结构实现二进制编码串 0011 #include "Skiplist/Skiplist.h" //引入Skiplist式词典结构实现 0012 using PFCTable = Skiplist<char, char*>; //PFC编码表,词条格式为:(key = 字符, value = 编码串) 0013 0014 #define N_CHAR (0x80 - 0x20) //只考虑可打印字符