Spec
SamplerOutputs mtuples beginning at a position of difference cover DC.
Outputs mtuples beginning at a position of difference cover DC.
Extends  Pipe 

All Extended  Pipe 
Defined in  <seqan/pipe.h> 
Signature 
template <typename TInput, unsigned M[, typename TPack]>
class Pipe<TInput, Sampler<M, TPack> >;

Template Parameters
TInput 
The type of the pipeline module this module reads from. 

m 
The tuple size. 
TPack 
Specifies the packing method of the tuples (void = no packing), default is Pack. 
Interface Function Overview
Interface Functions Inherited From Pipe
Detailed Description
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, TPack> >).
The first output field contains the number of remaining pipe elements. The mtuple in the second field contains the first m elements of them. The mtuples are substrings of the input stream beginning at positions i, with (ni) mod m is element of the set DC (n is the input stream length).
Examples
The set {1,2,4} is represented by int DC[] = { 3, 1, 2, 4 }.