X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TCImplementation.h;h=5430f21427093b5a74b51dd3a011be0ee32bdf5a;hb=2ff99d618e7f031bcfd95895c982e0958ae58d8c;hp=b74f70529a2f4b1eeab399b75aaf3190cd7aa8f9;hpb=5b209950c7b0533b3082fcc2bde5fce1cf2fe632;p=SXSI%2FTextCollection.git diff --git a/TCImplementation.h b/TCImplementation.h index b74f705..5430f21 100644 --- a/TCImplementation.h +++ b/TCImplementation.h @@ -23,13 +23,13 @@ #include "BitRank.h" #include "TextCollection.h" #include "BlockArray.h" -#include "BSGAP.h" // Include from XMLTree/libcds #include // Defines W == 32 #include #include #include +#include // Re-define word size to ulong: #undef W @@ -117,7 +117,7 @@ private: static_sequence * alphabetrank; // Sample structures for texts longer than samplerate - BSGAP *sampled; // FIXME Replace with RRR02 + static_bitsequence * sampled; // FIXME Replace with RRR02 BlockArray *suffixes; BlockArray *suffixDocId; @@ -127,7 +127,6 @@ private: ulong maxTextLength; // Array of document id's in the order of end-markers in BWT - // Access by endmarkerDocId[rank_$(L, p) - 1]. static_sequence *Doc; // Following are not part of the public API