GeneralizedSuffixArrayFromSeparateWordsT(IEnumerableIEnumerableT, Boolean) Method | 
Constructs the generalized suffix array from separate 'words'. Each list in the parameter 
words is treated as 'word'. The elements are treated as characters. The elements are converted
            to an integer alphabet by means of the 
IntegerText class.
 Namespace: Altaxo.Collections.TextAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static GeneralizedSuffixArray FromSeparateWords<T>(
	IEnumerable<IEnumerable<T>> words,
	bool useSortedMapping
)
Parameters
- words  IEnumerableIEnumerableT
 - The list of 'words'.
 - useSortedMapping  Boolean
 - If this parameter is true, a sorted mapping of the elements T to integers will be used. The type T then has to implement IComparable. If this parameter is false, a unsorted HashSetT will be used to make a unique mapping of the elements to integers.
 
Type Parameters
- T
 - The type of characters of the text. It must implement IComparable.
 
Return Value
GeneralizedSuffixArrayThe generalized suffix array. Since each list in 
words is treated as separate word, the generalized suffix array is prepared to search for the longest common substring in these words.
See Also