X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=CSA.h;fp=CSA.h;h=9f6c5006eebf4ce60f78eb5a08c3c4e45e06711c;hb=ccc18959e93d8986c0ce81209865a0a2b5f42be6;hp=1ecddc66723245554a450d77614345a52bf6630c;hpb=d39bf1d093c6e08dc50b805b25258d0c095380ec;p=SXSI%2FTextCollection.git diff --git a/CSA.h b/CSA.h index 1ecddc6..9f6c500 100644 --- a/CSA.h +++ b/CSA.h @@ -80,9 +80,9 @@ public: // full_result is inherited from SXSI::TextCollection. full_result FullContains(uchar const *) const; - // TODO implement: + // Index from/to disk void Load(FILE *, unsigned); - void Save(FILE *); + void Save(FILE *) const; private: class TCodeEntry { @@ -216,6 +216,7 @@ private: uchar * BWT(uchar *); uchar * LoadFromFile(const char *); void SaveToFile(const char *, uchar *); + void makewavelet(uchar *); void maketables(); // Following are not part of the public API