Class Specialization
Equidistant Splitter
Splits an interval into equal-sized subintervals.
This Splitter specialization divides an interval into subintervals of (almost) equal length, i.e.
two subintervals differ by at most 1 in size.
![]() | ![]() | ||||||
Equidistant Splitter | |||||||
Include Headers
seqan/parallel.h
Parameters
Type of the interval boundaries. |
Specialization of
Metafunctions
| Type of an object that is suitable to hold size information. (Splitter) | |
| Type of the items in the container or behind an iterator. (Splitter) |
Functions
| The number of items/characters. (Splitter) | |
| Resizes a container. If the new length exceeds the old length the new elements are filled with copies of |
Examples
Simple example for equidistant splitting.
File "splitter_example.cpp"
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 |
[14,17)
[17,20)
SeqAn - Sequence Analysis Library - www.seqan.de
