Skip to content

Commit eb433e7

Browse files
authored
Improving description.
1 parent 8e5265a commit eb433e7

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

include/skipping.h

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
/*
2-
* This is a simple implementation of the Skipping data structure and algorithms
3-
* similar to
2+
* This is a simple implementation of a skipping data structure and algorithms similar to
43
* what is described in
54
*
6-
* Sanders and Transier, Intersection in Integer Inverted Indices, 2007.
5+
* Sanders and Transier, Intersection in Integer Inverted Indices, ALENEX 2007, 2007.
76
*
8-
* As suggested in their conclusion, we leave the higher-level structure
9-
* uncompressed. We also
7+
* As suggested in their conclusion, we leave the higher-level structure uncompressed. We also
108
* use differential coding.
9+
*
10+
* To paraphrase Sanders and Transier...
11+
*
12+
* In addition to a delta-encoded compressed list, a top-level data structure stores
13+
* every B-th element of N in t together with its position in the main list (B is a tuning
14+
* parameter). We can now run any search algorithm on t and then scan only the pieces of
15+
* the main list that might contain an element to be located.
16+
*
17+
* In our implementation, we assume that B is a power of two and use 1 << BlockSizeLog as
18+
* the block size.
1119
*
1220
* Sanders and Transier's proposal is similar in spirit to the skipping
1321
* structure proposed in

0 commit comments

Comments
 (0)