Class Specialization
Sampler
Outputs m-tuples beginning at a position of difference cover DC.
Pipe
Sampler
Pipe<TInput, Sampler<m, DC[, TCompression]> >
Parameters
TInput
The type of the pipeline module this module reads from.
m
The tuple size.
DC
A set of non-negative integers less than m.
DC[0] contains the size of the set and DC[1..DC[0]] contains the distinct and ordered elements.
TCompression
Enable/Disable compression.
If void, no compression is used.
If Compressed, bit-compressed Tuples are used.
Default: void.
Specialization of
Functions
assignAssigns one object to another object. (Pipe)
atEndDetermines whether an iterator is at the end position. (Pipe)
beginReadInitiates a read process. (Pipe)
endReadTerminates a read process. (Pipe)
frontGets the first element of the remaining stream. (Pipe)
lengthThe number of items/characters. (Pipe)
popPops the first element of the remaining stream. (Pipe)
Remarks
The output type is a Pair of size type and Tuple of input elements and length m (i.e. Pair<Size<TInput>::Type, Tuple<Value<TInput>::Type, m, TCompression> >).
The first output field contains the beginning position of the m-tuple in the second field. The m-tuples are substrings of the input stream beginning at positions i, with i mod m is element of the set DC.
Examples
The set {1,2,4} is represented by int DC[] = { 3, 1, 2, 4 }.
See Also
SeqAn - Sequence Analysis Library - www.seqan.de