All highest scoring paths in weighted grid graphs and their application to finding all approximate repeats in strings

被引:84
|
作者
Schmidtz, JP [1 ]
机构
[1] Polytech Inst New York, Dept Comp Sci, Brooklyn, NY 11201 USA
关键词
string matching; tandem repeats; edit-distance; dynamic programming;
D O I
10.1137/S0097539795288489
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Weighted paths in directed grid graphs of dimension (m x n) can be used to model the string edit problem, which consists of obtaining optimal (weighted) alignments between substrings of A, \A\ = m, and substrings of B, \B\ = n. We build a data structure (in O(mn log m) time) that supports O(log m) time queries about the weight of any of the O(m(2)n) best paths from the vertices in column 0 of the graph to all other vertices. Using these techniques we present a simple O(n(2) log n) time and Theta(n(2)) space algorithm to find all (the locally optimal) approximate tandem (or nontandem) repeats xy within a string of size n. This improves (by a factor of log n) upon several previous algorithms for this problem and is the first algorithm to fond all locally optimal repeats. For edit graphs with weights in {0,-1,1}, a slight modification of our techniques yields an O(n(2)) algorithm for the cyclic string comparison problem, as compared to O(n log n) for the case of general weights.
引用
收藏
页码:972 / 992
页数:21
相关论文
共 18 条
  • [1] Finding Optimal Paths of All Lengths in Directed Grid Graphs
    Arslan, Abdullah N.
    ARTIFICIAL INTELLIGENCE TRENDS IN SYSTEMS, VOL 2, 2022, 502 : 362 - 380
  • [3] Identification of All Exact and Approximate Inverted Repeats in Regular and Weighted Sequences
    Barton, Carl
    Iliopoulos, Costas S.
    Mulder, Nicola
    Watson, Bruce
    ENGINEERING APPLICATIONS OF NEURAL NETWORKS, PT II, 2013, 384 : 11 - 19
  • [4] All-Pairs Bottleneck Paths in Vertex Weighted Graphs
    Shapira, Asaf
    Yuster, Raphael
    Zwick, Uri
    ALGORITHMICA, 2011, 59 (04) : 621 - 633
  • [5] All-Pairs Bottleneck Paths in Vertex Weighted Graphs
    Asaf Shapira
    Raphael Yuster
    Uri Zwick
    Algorithmica, 2011, 59 : 621 - 633
  • [6] All-Pairs Bottleneck Paths in Vertex Weighted Graphs
    Shapira, Asaf
    Yuster, Raphael
    Zwick, Uri
    PROCEEDINGS OF THE EIGHTEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2007, : 978 - 985
  • [7] DYNAMIC APPROXIMATE ALL-PAIRS SHORTEST PATHS IN UNDIRECTED GRAPHS
    Roditty, Liam
    Zwick, Uri
    SIAM JOURNAL ON COMPUTING, 2012, 41 (03) : 670 - 683
  • [8] Dynamic approximate all-pairs shortest paths in undirected graphs
    Roditty, L
    Zwick, U
    45TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2004, : 499 - 508
  • [9] More Algorithms for All-Pairs Shortest Paths in Weighted Graphs
    Chan, Timothy M.
    STOC 07: PROCEEDINGS OF THE 39TH ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, 2007, : 590 - 598
  • [10] MORE ALGORITHMS FOR ALL-PAIRS SHORTEST PATHS IN WEIGHTED GRAPHS
    Chan, Timothy M.
    SIAM JOURNAL ON COMPUTING, 2010, 39 (05) : 2075 - 2089