Expand description
Rust translation of upstream libsais 2.10.4 by Ilya Grebnov.
This module exposes the 32-bit suffix array, BWT, unBWT, PLCP and LCP entry
points (mirroring libsais.h). The 16-bit (libsais16), 64-bit
(libsais64) and 16-bit/64-bit (libsais16x64) variants live in the
sibling modules.
Re-exports§
pub use libsais16::libsais16;pub use libsais16::SaSint as SaSint16;pub use libsais16::SaUint as SaUint16;pub use libsais16x64::libsais16x64;pub use libsais16x64::SaSint as SaSint16x64;pub use libsais16x64::SaUint as SaUint16x64;pub use libsais64::libsais64;pub use libsais64::SaSint as SaSint64;pub use libsais64::SaUint as SaUint64;
Modules§
- libsais16
- Rust translation of upstream libsais 2.10.4 by Ilya Grebnov.
- libsais64
- Rust translation of upstream libsais 2.10.4 by Ilya Grebnov.
- libsais16x64
- Rust translation of upstream libsais 2.10.4 by Ilya Grebnov.
Structs§
Constants§
- ALPHABET_
SIZE - LIBSAIS_
FLAGS_ BWT - LIBSAIS_
FLAGS_ GSA - LIBSAIS_
FLAGS_ NONE - LIBSAIS_
LOCAL_ BUFFER_ SIZE - LIBSAIS_
PER_ THREAD_ CACHE_ SIZE - SAINT_
BIT - SAINT_
MAX - SAINT_
MIN - SUFFIX_
GROUP_ BIT - SUFFIX_
GROUP_ MARKER - UNBWT_
FASTBITS
Functions§
- create_
ctx - Creates the libsais context that allows reusing allocated memory with each libsais operation.
- create_
ctx_ omp - Creates the libsais context for parallel operations using OpenMP-style threading.
- free_
ctx - Destroys the libsais context and frees previously allocated memory.
- libsais
- Constructs the suffix array of a given string.
- libsais_
bwt - Constructs the Burrows-Wheeler transformed string (BWT) of a given string.
- libsais_
bwt_ aux - Constructs the Burrows-Wheeler transformed string (BWT) of a given string with auxiliary indexes.
- libsais_
bwt_ aux_ ctx - Constructs the BWT of a given string with auxiliary indexes using a libsais context.
- libsais_
bwt_ aux_ omp - Constructs the BWT of a given string with auxiliary indexes in parallel using OpenMP-style threading.
- libsais_
bwt_ ctx - Constructs the Burrows-Wheeler transformed string (BWT) of a given string using a libsais context.
- libsais_
bwt_ omp - Constructs the Burrows-Wheeler transformed string (BWT) of a given string in parallel using OpenMP-style threading.
- libsais_
ctx - Constructs the suffix array of a given string using a libsais context.
- libsais_
gsa - Constructs the generalized suffix array (GSA) of a given string set.
- libsais_
gsa_ ctx - Constructs the generalized suffix array (GSA) of a given string set using a libsais context.
- libsais_
gsa_ omp - Constructs the generalized suffix array (GSA) of a given string set in parallel using OpenMP-style threading.
- libsais_
int - Constructs the suffix array of a given integer array.
- libsais_
int_ omp - Constructs the suffix array of a given integer array in parallel using OpenMP-style threading.
- libsais_
lcp - Constructs the longest common prefix array (LCP) from a PLCP and suffix array.
- libsais_
lcp_ omp - Constructs the LCP from a PLCP and suffix array in parallel using OpenMP-style threading.
- libsais_
omp - Constructs the suffix array of a given string in parallel using OpenMP-style threading.
- libsais_
plcp - Constructs the permuted longest common prefix array (PLCP) of a given string and suffix array.
- libsais_
plcp_ gsa - Constructs the PLCP of a given string set and generalized suffix array (GSA).
- libsais_
plcp_ gsa_ omp - Constructs the PLCP of a given string set and GSA in parallel using OpenMP-style threading.
- libsais_
plcp_ int - Constructs the PLCP of a given integer array and suffix array.
- libsais_
plcp_ int_ omp - Constructs the PLCP of a given integer array and suffix array in parallel using OpenMP-style threading.
- libsais_
plcp_ omp - Constructs the PLCP of a given string and suffix array in parallel using OpenMP-style threading.
- libsais_
unbwt - Reconstructs the original string from a given BWT and primary index.
- libsais_
unbwt_ aux - Reconstructs the original string from a given BWT with auxiliary indexes.
- libsais_
unbwt_ aux_ ctx - Reconstructs the original string from a given BWT with auxiliary indexes using a libsais reverse-BWT context.
- libsais_
unbwt_ aux_ omp - Reconstructs the original string from a given BWT with auxiliary indexes in parallel using OpenMP-style threading.
- libsais_
unbwt_ ctx - Reconstructs the original string from a given BWT and primary index using a libsais reverse-BWT context.
- libsais_
unbwt_ omp - Reconstructs the original string from a given BWT and primary index in parallel using OpenMP-style threading.
- unbwt_
create_ ctx - Creates the libsais reverse-BWT context that allows reusing allocated memory with each
libsais_unbwt_*operation. - unbwt_
create_ ctx_ omp - Creates the libsais reverse-BWT context for parallel
libsais_unbwt_*operations using OpenMP-style threading. - unbwt_
free_ ctx - Destroys the libsais reverse-BWT context and frees previously allocated memory.