Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
felipelouza committed Aug 17, 2018
1 parent f1daa68 commit 7cf6327
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ An ANSI C Compiler (e.g. GNU GCC)
*/
int gsacak(unsigned char *s, uint_t *SA, int_t *LCP, int_t *DA, uint_t n);

/** @brief Computes the suffix array SA (LCP, DA) of T^cat in s[0..n-1]
/** @brief Computes the suffix array SA (LCP, DA) of T^cat (integer) in s[0..n-1]
*
* @param s input concatenated string, using separators s[i]=1 and with s[n-1]=0
* @param SA Suffix array
* @param LCP LCP array
* @param DA Document array
* @param n string length
* @param K alphabet size
* @param k alphabet size+2 (0 and 1 are reserved)
*
* @return depth of the recursive calls.
*/
Expand Down
2 changes: 2 additions & 0 deletions gsacak.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// vim: noai:ts=2:sw=2

#include "gsacak.h"

// set only the highest bit as 1, i.e. 1000...
Expand Down
4 changes: 2 additions & 2 deletions gsacak.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int sacak(unsigned char *s, uint_t *SA, uint_t n);

/** @brief computes the suffix array of string s[0..n-1]
*
* @param k alphabet size
* @param k alphabet size+1 (0 is reserved)
*/
int sacak_int(int_text *s, uint_t *SA, uint_t n, uint_t k);

Expand All @@ -110,7 +110,7 @@ int gsacak(unsigned char *s, uint_t *SA, int_t *LCP, int_da *DA, uint_t n);
* @param LCP LCP array
* @param DA Document array
* @param n String length
* @param K Alphabet size
* @param k alphabet size+2 (0 and 1 are reserved)
*
* @return depth of the recursive calls.
*/
Expand Down
2 changes: 2 additions & 0 deletions gsais.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// vim: noai:ts=2:sw=2

#include "gsais.h"

// get s[i] at a certain level
Expand Down
4 changes: 2 additions & 2 deletions gsais.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int sais(unsigned char *s, uint_t *SA, uint_t n);

/** @brief computes the suffix array of string s[0..n-1]
*
* @param k alphabet size
* @param k alphabet size+1 (0 is reserved)
*/
int sais_int(int_text *s, uint_t *SA, uint_t n, uint_t k);

Expand All @@ -111,7 +111,7 @@ int gsais(unsigned char *s, uint_t *SA, int_t *LCP, int_da *DA, uint_t n);
* @param LCP LCP array
* @param DA Document array
* @param n String length
* @param K Alphabet size
* @param k alphabet size+2 (0 and 1 are reserved)
*
* @return depth of the recursive calls.
*/
Expand Down

0 comments on commit 7cf6327

Please sign in to comment.