ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
LongestCommonExtension.h

The engineered longest common extensions of a text, beyond the book. More...

Files

file  ADS/string/LongestCommonExtension.h
 The engineered longest common extensions of a text, beyond the book: the value \( \mathrm{lce}( i , j ) \) of the suffixes \( i \) and \( j \) of \( T \), the length of their longest common prefix, which the benchmark of the suffix arrays compares with the lce() of SuffixArray.h (the range minimum of Bender and Farach-Colton), with a range minimum of sdsl-lite and with the direct comparison of the two suffixes, while SuffixArray.h stays the textbook.

Classes

class  ADS::LceIndex< I >
 the longest common extensions of the suffixes of a text, \( O( 1 ) \) each, on unsigned integers I of 32 or 64 bits More...

Detailed description

The engineered longest common extensions of a text, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of strings.