Skip to main navigation Skip to search Skip to main content

Approximate swapped matching

  • Georgia Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Let a text string T of n symbols and a pattern string P of m symbols from alphabet ∑ be given. A swapped version P′ of P is a length m string derived from P by a series of local swaps, (i.e. p′ ← pt+1 and p'ℓ+1 ← p) where each element can participate in no more than one swap. The Pattern Matching with Swaps problem is that of finding all locations i of T for which there exists a swapped version P′ of P with an exact matching of P' in location i of T. Recently, some efficient algorithms were developed for this problem. Their time complexity is better than the best known algorithms for pattern matching with mismatches. However, the Approximate Pattern Matching with Swaps problem was not known to be solved faster than the pattern matching with mismatches problem. In the Approximate Pattern Matching with Swaps problem the output is, for every text location i where there is a swapped match of P, the number of swaps necessary to create the swapped version that matches location i. The fastest known method to-date is that of counting mismatches and dividing by two. The time complexity of this method is (Formula Presented) for a general alphabet ∑. In this paper we show an algorithm that counts the number of swaps at every location where there is a swapped matching in time O(n log mlog σ), where σ = min(m, |∑|). Consequently, the total time for solving the approximate pattern matching with swaps problem is O(f (n,m) + nlog m log σ), where f (n,m) is the time necessary for solving the pattern matching with swaps problem.

Original languageEnglish
Title of host publicationFST TCS 2000
Subtitle of host publicationFoundations of Software Technology and Theoretical Computer Science - 20th Conference, Proceedings
EditorsSanjiv Kapoor, Sanjiva Prasad
PublisherSpringer Verlag
Pages302-311
Number of pages10
ISBN (Print)3540414134, 9783540414131
DOIs
StatePublished - 2000
Event20th Conference on Foundations of Software Technology and Theoretical Computer Science, FST TCS 2000 - New Delhi, India
Duration: 13 Dec 200015 Dec 2000

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume1974
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference20th Conference on Foundations of Software Technology and Theoretical Computer Science, FST TCS 2000
Country/TerritoryIndia
CityNew Delhi
Period13/12/0015/12/00

Bibliographical note

Publisher Copyright:
© Springer-Verlag Berlin Heidelberg 2000.

Funding

FundersFunder number
Barth Syndrome Foundation96-00509
National Science FoundationCCR-96-10170

    Keywords

    • Approximate pattern matching
    • Combinatorial algorithms on words
    • Design and analysis of algorithms
    • Nonstandard pattern matching
    • Pattern matching
    • Pattern matching with swaps

    Fingerprint

    Dive into the research topics of 'Approximate swapped matching'. Together they form a unique fingerprint.

    Cite this