X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TCImplementation.h;h=65bf22c030b350333b429feaf8cc1feab63a90f9;hb=5d74bc076c9d15d607d183c16ff8468ea961a0f9;hp=d9ac0637584beeb90a289af071ce1a2fb2850785;hpb=3c8e8e6146312f6f55046c451897234fed56608d;p=SXSI%2FTextCollection.git diff --git a/TCImplementation.h b/TCImplementation.h index d9ac063..65bf22c 100644 --- a/TCImplementation.h +++ b/TCImplementation.h @@ -53,7 +53,7 @@ namespace SXSI */ class TCImplementation : public SXSI::TextCollection { public: - TCImplementation(uchar *, ulong, unsigned, unsigned, ulong); + TCImplementation(uchar *, ulong, unsigned, unsigned, ulong, ulong); ~TCImplementation(); bool EmptyText(DocId) const; @@ -165,7 +165,7 @@ private: // Following methods are not part of the public API uchar * BWT(uchar *); void makewavelet(uchar *); - void maketables(); + void maketables(ulong); DocId DocIdAtTextPos(BlockArray*, TextPosition) const; ulong Search(uchar const *, TextPosition, TextPosition *, TextPosition *) const; ulong Search(uchar const *, TextPosition, TextPosition *, TextPosition *, DocId, DocId) const;