Spec BitPackedTuple
A fixed-size tuple of values. Memory is saved by packing bits.

Extends Tuple
All Extended Tuple
Defined in <seqan/basic.h>
Signature template <typename TValue, unsigned SIZE> class Tuple<TValue, SIZE, BitPacked<> >;

Template Parameters

TValue The value type.
SIZE The length of the tuple.

Member Function Overview

Member Functions Inherited From Tuple

Interface Metafunction Overview

Interface Metafunctions Inherited From Tuple

Detailed Description

The characters are stored as bit sequence in an ordinal type (char, ..., int64_t).


Only useful for small alphabets as small tuple sizes (|Sigma|^size <= 2^64 as for Dna or AminoAcid m-grams).