Class Specialization

Sampler

Outputs m-tuples beginning at a position of difference cover DC.

Sampler |

Include Headers

seqan/pipe.h

Parameters

The type of the pipeline module this module reads from. | |

The tuple size. | |

A set of non-negative integers less than | |

Specifies the packing method of the tuples ( Default: Pack. |

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, TPack> > ).

The first output field contains the number of remaining pipe elements. The m-tuple in the second field contains the first m elements of them.
The m-tuples are substrings of the input stream beginning at positions i , with (n-i) mod m is element of the set DC (n is the input stream length).

Specialization of

Functions

Assigns one object to another object. (Pipe) | |

Determines whether an iterator is at the end position. (Pipe) | |

Initiates a read process. (Pipe) | |

Terminates a read process. (Pipe) | |

Gets the first element of the remaining stream. (Pipe) | |

The number of items/characters. (Pipe) | |

Pops the first element of the remaining stream. (Pipe) |

Examples

The set {1,2,4} is represented by int DC[] = { 3, 1, 2, 4 } .

See Also

SeqAn - Sequence Analysis Library - www.seqan.de