in reply to Re: Analysing a (binary) string. (Solved)
in thread Analysing a (binary) string. (Solved)

Two questions:

  1. Have you ever built a suffix (or any kind of) tree in Perl with 30 million nodes?
  2. What effect do you think the presence of errors in the repeats would have upon the suffix trees ability to detect them?

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: Analysing a (binary) string. (Solved)

Replies are listed 'Best First'.
Re^3: Analysing a (binary) string. (Solved)
by hexcoder (Curate) on Jun 29, 2013 at 17:06 UTC
    1. Not yet, but a suffix array has lower space requirements than a suffix tree.

    2. In Dan Gusfield's book 'Algorithms on Strings, Trees, and Sequences' several inexact matching solutions based on suffix trees are discussed (for example in chapter 12.2). If there are up to k errors without insertions and deletions, it is the k-mismatch problem (see chap. 9.4) with a solution running in O(km), where k is the number of errors and m is the length of the string. Otherwise if the errors shall include insertions/deletions it is called the k-difference problem.

    Hope that helps.