15#include <boost/mpl/vector.hpp>
16#include <boost/mpl/string.hpp>
23 boost::mpl::vector<BitRangeContiguousAlphabet<uint16_t, 6, boost::mpl::string<
'p',
'a',
'd',
'r',
'o',
'w'>>,
24 BitRangeContiguousAlphabet<uint16_t, 14, boost::mpl::string<
'p',
'a',
'd'>>,
25 BitRangeContiguousAlphabet<uint16_t, 15, boost::mpl::string<
't',
'i',
'm',
'e'>>,
26 BitRangeContiguousAlphabet<uint16_t, 8, boost::mpl::string<
's',
'i',
'g',
'm',
'a',
'Y',
'2'>>,
27 BitRangeContiguousAlphabet<uint16_t, 8, boost::mpl::string<
's',
'i',
'g',
'm',
'a',
'Z',
'2'>>,
28 BitRangeContiguousAlphabet<uint16_t, 16, boost::mpl::string<
'c',
'h',
'a',
'r',
'g',
'e'>>,
29 BitRangeContiguousAlphabet<uint16_t, 10, boost::mpl::string<
'q',
'm',
'a',
'x'>>>;
36template <
typename RepT,
int Length,
typename Description>
37using Model = o2::HuffmanModel<ProbabilityModel<BitRangeContiguousAlphabet<RepT, Length, Description>>,
38 o2::HuffmanNode<std::bitset<64>>,
true>;
41 boost::mpl::vector<
Model<uint16_t, 6, boost::mpl::string<
'p',
'a',
'd',
'r',
'o',
'w'>>,
42 Model<uint16_t, 14, boost::mpl::string<
'p',
'a',
'd'>>,
43 Model<uint16_t, 15, boost::mpl::string<
't',
'i',
'm',
'e'>>,
44 Model<uint16_t, 8, boost::mpl::string<
's',
'i',
'g',
'm',
'a',
'Y',
'2'>>,
45 Model<uint16_t, 8, boost::mpl::string<
's',
'i',
'g',
'm',
'a',
'Z',
'2'>>,
46 Model<uint16_t, 16, boost::mpl::string<
'c',
'h',
'a',
'r',
'g',
'e'>>,
47 Model<uint16_t, 10, boost::mpl::string<
'q',
'm',
'a',
'x'>>>;
Implementation of a Huffman codec.
Primitives for data compression.
boost::mpl::vector< Model< uint16_t, 6, boost::mpl::string< 'p', 'a', 'd', 'r', 'o', 'w'> >, Model< uint16_t, 14, boost::mpl::string< 'p', 'a', 'd'> >, Model< uint16_t, 15, boost::mpl::string< 't', 'i', 'm', 'e'> >, Model< uint16_t, 8, boost::mpl::string< 's', 'i', 'g', 'm', 'a', 'Y', '2'> >, Model< uint16_t, 8, boost::mpl::string< 's', 'i', 'g', 'm', 'a', 'Z', '2'> >, Model< uint16_t, 16, boost::mpl::string< 'c', 'h', 'a', 'r', 'g', 'e'> >, Model< uint16_t, 10, boost::mpl::string< 'q', 'm', 'a', 'x'> > > tpccluster_parameter_models
boost::mpl::vector< BitRangeContiguousAlphabet< uint16_t, 6, boost::mpl::string< 'p', 'a', 'd', 'r', 'o', 'w'> >, BitRangeContiguousAlphabet< uint16_t, 14, boost::mpl::string< 'p', 'a', 'd'> >, BitRangeContiguousAlphabet< uint16_t, 15, boost::mpl::string< 't', 'i', 'm', 'e'> >, BitRangeContiguousAlphabet< uint16_t, 8, boost::mpl::string< 's', 'i', 'g', 'm', 'a', 'Y', '2'> >, BitRangeContiguousAlphabet< uint16_t, 8, boost::mpl::string< 's', 'i', 'g', 'm', 'a', 'Z', '2'> >, BitRangeContiguousAlphabet< uint16_t, 16, boost::mpl::string< 'c', 'h', 'a', 'r', 'g', 'e'> >, BitRangeContiguousAlphabet< uint16_t, 10, boost::mpl::string< 'q', 'm', 'a', 'x'> > > tpccluster_parameter