Efficiently computes an iterator over the multiple common subsequences from this generalized suffix tree.
Efficiently computes an iterator over the multiple common subsequences from this generalized suffix tree.
Pre-processing of this algorithm has a linear-time complexity. It is fully described in section 9.7 "A linear-time solution to the multiple common substring problem" of Dan Gusfield's book "Algorithms on Strings, Trees, and Sequences" (1997).
An iterator over the sequences along with their frequencies
Determines if a pattern is contained in the suffix tree
Determines the occurrences of a pattern in this suffix tree
Determines the occurrences of a pattern in this suffix tree
A list of pairs containing the sequence ID and the position of the given sequence as a starting index (starting from 0, else an empty list
Determines the longest common subsequences between a given pattern and the generalized suffix tree.
Determines the longest common subsequences between a given pattern and the generalized suffix tree.
For instance, given a suffix tree containing sequences:
It will return:
an empty list if the longest common subsequence does not exist, else a list of triple containing the starting index (inclusive, starting from 0), the end index (exclusive) and the set of sequence IDs containing this subsequence along with the starting position of the (sub)pattern in the sequence (starting from 0).
Computes an iterator over the full sequences of this generalized suffix tree
Retrieves a sequence by a given ID
Computes the multiple common subsequence from this generalized suffix tree.
Computes the multiple common subsequence from this generalized suffix tree.
This method is NOT efficient for large tree, see bulkMultipleCommonSubsequence
instead.
Pre-processing of this algorithm has a linear-time complexity. It is fully described in section 9.7 "A linear-time solution to the multiple common substring problem" of Dan Gusfield's book "Algorithms on Strings, Trees, and Sequences" (1997).
Number of suffixes in this generalized suffix tree
Number of sequences in this suffix tree
Computes an iterator over the suffixes of this generalized suffix tree