Click or drag to resize

GeneralizedSuffixArray Properties

The GeneralizedSuffixArray type exposes the following members.

Properties
 NameDescription
Public propertyInverseSuffixArray Maps the suffix that starts at position i in the text to the lexicographical order position of this suffix, which is the value of the i-th element of this array.
Public propertyLCPArray Stores the length of the Longest Common Prefix of the lexicographically i-th suffix and its lexicographical predecessor (the lexicographically (i-1)-th suffix). The element at index 0 is always 0.
Public propertyLCPSArray 
Public propertyMaximumLcp Maximum of all values in the _LCP array.
Public propertyNumberOfWords Number of words, if the text was separated into individual words. Otherwise, this field is equal to one.
Public propertySuffixArray Maps the lexicographical order position i of a suffix to the starting position of the suffix in the text, which is the value of the i-th element of this array.
Public propertyWordIndices Maps the lexicographical order position i of a suffix to the index of the word, in which this suffix starts. This means, that for instance the value of the i-th element contains the index of the word, in which the lexicographically i-th suffix that starts at position _suffixArray[i] begins. The contents of this array is only meaningful, if you provided text that was separated into words, for instance for the longest common substring problem.
Public propertyWordStartPositions Start positions of the words in which the original text was separated in the array _text.
Top
See Also