Skip to content

Commit f6b4d58

Browse files
committed
Update reference and fixed typos.
1 parent ae15e1c commit f6b4d58

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,12 @@ data structure. If you use the library in an academic setting please cite the
209209
following paper:
210210

211211
@inproceedings{gbmp2014sea,
212-
title={From Theory to Practice: Plug and Play with Succinct Data Structures},
213-
author={Gog, Simon and Beller, Timo and Moffat, Alistair and Petri, Matthias},
212+
title = {From Theory to Practice: Plug and Play with Succinct Data Structures},
213+
author = {Gog, Simon and Beller, Timo and Moffat, Alistair and Petri, Matthias},
214214
booktitle = {13th International Symposium on Experimental Algorithms, (SEA 2014)},
215-
year={2014},
216-
note = {To appear.}
215+
year = {2014},
216+
pages = {326-337},
217+
ee = {http://dx.doi.org/10.1007/978-3-319-07959-2_28}
217218
}
218219

219220
A preliminary version if available [here on arxiv][SEAPAPER].

include/sdsl/wt_int.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ class wt_int
528528
* \param j End index (exclusive) of the interval.
529529
* \param c Symbol c.
530530
* \return A triple containing:
531-
* * rank(c,i)
531+
* * rank(i,c)
532532
* * #symbols smaller than c in [i..j-1]
533533
* * #symbols greater than c in [i..j-1]
534534
*
@@ -574,7 +574,7 @@ class wt_int
574574
* \param i Exclusive right bound of the range.
575575
* \param c Symbol c.
576576
* \return A tuple containing:
577-
* * rank(c,i)
577+
* * rank(i,c)
578578
* * #symbols smaller than c in [0..i-1]
579579
* \par Precondition
580580
* \f$ i \leq size() \f$

include/sdsl/wt_pc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ class wt_pc
511511
* \param j End index (exclusive) of the interval.
512512
* \param c Symbol c.
513513
* \return A triple containing:
514-
* * rank(c,i)
514+
* * rank(i,c)
515515
* * #symbols smaller than c in [i..j-1]
516516
* * #symbols greater than c in [i..j-1]
517517
*
@@ -574,7 +574,7 @@ class wt_pc
574574
* \param i Exclusive right bound of the range.
575575
* \param c Symbol c.
576576
* \return A tuple containing:
577-
* * rank(c,i)
577+
* * rank(i,c)
578578
* * #symbols smaller than c in [0..i-1]
579579
* \par Precondition
580580
* \f$ i \leq size() \f$

0 commit comments

Comments
 (0)