Project
Loading...
Searching...
No Matches
tpccluster_parameter_model.h File Reference
#include "DataCompression/dc_primitives.h"
#include "DataCompression/HuffmanCodec.h"
#include <bitset>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/string.hpp>

Go to the source code of this file.

Typedefs

using tpccluster_parameter = 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'> > >
 
template<typename RepT , int Length, typename Description >
using Model = o2::HuffmanModel< ProbabilityModel< BitRangeContiguousAlphabet< RepT, Length, Description > >, o2::HuffmanNode< std::bitset< 64 > >, true >
 
using tpccluster_parameter_models = 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'> > >
 

Typedef Documentation

◆ Model

template<typename RepT , int Length, typename Description >
using Model = o2::HuffmanModel<ProbabilityModel<BitRangeContiguousAlphabet<RepT, Length, Description> >, o2::HuffmanNode<std::bitset<64> >, true>

Definition of Huffman probability models for the above defined alphabets

This is a temporary definition, the mpl sequence can be created automatically from the list of alphabet types, but did not manage so far (see below)

Definition at line 37 of file tpccluster_parameter_model.h.

◆ tpccluster_parameter

using tpccluster_parameter = 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'> >>

Parameter model definitions

  • boost mpl vector of alphabets

Definition at line 22 of file tpccluster_parameter_model.h.

◆ tpccluster_parameter_models

using tpccluster_parameter_models = 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'> >>

Definition at line 40 of file tpccluster_parameter_model.h.