Skip to content

Commit

Permalink
New README
Browse files Browse the repository at this point in the history
  • Loading branch information
felipelouza committed Nov 19, 2015
1 parent fd213ef commit b1d42df
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ LIBOBJ = \
lib/file.o\
lib/suffix_array.o\
external/malloc_count/malloc_count.o\
gsais.o\
gsaca-k.o
src/gsais.o\
src/gsaca-k.o

all: compile

Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
#gsa-is

##Experimental results
This code is an implementation of gSAIS and gSACA-K, which are modifications of
SAIS [1] and SACA-K [2], to sort the concatenated string using the same end
marker, maintaining their theoretical bounds, respecting the order among all
suffixes, and improving their practical performance

#run:

To run a test type:

```sh
make
make run DIR=dataset INPUT=input.1000.txt K=1000 MODE=1
```


#Experimental results


**Collections:**
Expand Down
Binary file modified gsais
Binary file not shown.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "lib/file.h"
#include "lib/suffix_array.h"
#include "external/malloc_count/malloc_count.h"
#include "gsais.h"
#include "gsaca-k.h"
#include "src/gsais.h"
#include "src/gsaca-k.h"

#define DEBUG 0

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion gsaca-k.h → src/gsaca-k.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <stdlib.h>
#include <stdio.h>

#include "lib/utils.h"
#include "../lib/utils.h"

int_t SACA_K(int_t *s, uint_t *SA,
uint_t n, unsigned int K,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion gsais.h → src/gsais.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <memory.h>
#include <time.h>

#include "lib/utils.h"
#include "../lib/utils.h"

#define tget(i) ( (t[(i)/8]&mask[(i)%8]) ? 1 : 0 )
#define tset(i, b) t[(i)/8]=(b) ? (mask[(i)%8]|t[(i)/8]) : ((~mask[(i)%8])&t[(i)/8])
Expand Down

0 comments on commit b1d42df

Please sign in to comment.