Function libdivsufsort_rs::sufcheck
source · pub fn sufcheck(
input_string: &Vec<u8>,
suffix_array: &Vec<i32>,
verbose: bool
) -> Option<()>
Expand description
“Checks the correctness of a given suffix array.”
Input: Vector of bytes & its suffix array & verbose option
If verbose is true, additional information is printed to stdout.
Output: If no error occured, get Some value of unit
. Otherwise, None
.