dfd4a21a20dc61a7bd417395f8970937aff301af
[SXSI/TextCollection.git] / incbwt / bits / vectors.h
1 #ifndef VECTORS_H
2 #define VECTORS_H
3
4 #include "deltavector.h"
5 #include "rlevector.h"
6
7
8 namespace CSA
9 {
10
11
12 /*
13   These functions merge two vectors using marked positions.
14   The original vectors are deleted.
15 */
16
17 RLEVector* mergeVectors(RLEVector* first, RLEVector* second, usint* positions, usint n, usint size, usint block_size);
18
19 DeltaVector* mergeVectors(DeltaVector* first, DeltaVector* second, usint* positions, usint n, usint size, usint block_size);
20
21
22 } // namespace CSA
23
24
25 #endif // VECTORS_H