When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Generalized suffix array - Wikipedia

    en.wikipedia.org/wiki/Generalized_suffix_array

    A naive implementation would compute the largest common subsequence of all the strings in the set in (). [ 6 ] A generalized suffix array can be utilized to find the longest previous factor array, a concept central to text compression techniques and in the detection of motifs and repeats [ 7 ]

  3. Longest repeated substring problem - Wikipedia

    en.wikipedia.org/wiki/Longest_repeated_substring...

    The string spelled by the edges from the root to such a node is a longest repeated substring. The problem of finding the longest substring with at least k {\displaystyle k} occurrences can be solved by first preprocessing the tree to count the number of leaf descendants for each internal node, and then finding the deepest node with at least k ...

  4. Longest common substring - Wikipedia

    en.wikipedia.org/wiki/Longest_common_substring

    The longest common substrings of a set of strings can be found by building a generalized suffix tree for the strings, and then finding the deepest internal nodes which have leaf nodes from all the strings in the subtree below it. The figure on the right is the suffix tree for the strings "ABAB", "BABA" and "ABBA", padded with unique string ...

  5. Generalized suffix tree - Wikipedia

    en.wikipedia.org/wiki/Generalized_suffix_tree

    An alternative to building a generalized suffix tree is to concatenate the strings, and build a regular suffix tree or suffix array for the resulting string. When hits are evaluated after a search, global positions are mapped into documents and local positions with some algorithm and/or data structure, such as a binary search in the starting ...

  6. Compressed suffix array - Wikipedia

    en.wikipedia.org/wiki/Compressed_suffix_array

    [1] [2] These data structures enable quick search for an arbitrary string with a comparatively small index. Given a text T of n characters from an alphabet Σ, a compressed suffix array supports searching for arbitrary patterns in T. For an input pattern P of m characters, the search time is typically O(m) or O(m + log(n)).

  7. Suffix tree - Wikipedia

    en.wikipedia.org/wiki/Suffix_tree

    The suffix tree for the string of length is defined as a tree such that: [7]. The tree has exactly n leaves numbered from to .; Except for the root, every internal node has at least two children.

  8. Suffix array - Wikipedia

    en.wikipedia.org/wiki/Suffix_array

    Suffix arrays are closely related to suffix trees: . Suffix arrays can be constructed by performing a depth-first traversal of a suffix tree. The suffix array corresponds to the leaf-labels given in the order in which these are visited during the traversal, if edges are visited in the lexicographical order of their first character.

  9. Ukkonen's algorithm - Wikipedia

    en.wikipedia.org/wiki/Ukkonen's_algorithm

    Ukkonen's algorithm is divided into n phases (one phase for each character in the string with length n). Each phase i+1 is further divided into i+1 extensions, one for each of the i+1 suffixes of S[1...i+1]. Suffix extension is all about adding the next character into the suffix tree built so far.