Alphabet independent two dimensional matching

Amihood Amir, Gary Benson, Martin Farach

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Abstract

    There are many solutions to the string matching problem which are strictly linear in the input size and independent of alphabet size. Furthermore, the model of computation for these algorithms is very weak: they allow only simple arithmetic and comparisons of equality between characters of the input. In contrast, algorithm for two dimensional matching have needed stronger models of computation, most notably assuming a totally ordered alphabet. The fastest algorithms for two dimensional matching have therefore had a logarithmic dependence on the alphabet size. In the worst case, this gives an algorithm that runs in O(n2 log m) with O(m2 log m) preprocessing. We show an algorithm for two dimensional matching with an O(n2) text scanning phase. Furthermore, the text scan requires no special assumptions about the alphabet, i.e. it runs on the same model as the standard linear time string matching algorithm.

    Original languageEnglish (US)
    Title of host publicationProceedings of the 24th Annual ACM Symposium on Theory of Computing, STOC 1992
    PublisherAssociation for Computing Machinery
    Pages59-68
    Number of pages10
    ISBN (Electronic)0897915119
    DOIs
    StatePublished - Jul 1 1992
    Event24th Annual ACM Symposium on Theory of Computing, STOC 1992 - Victoria, Canada
    Duration: May 4 1992May 6 1992

    Publication series

    NameProceedings of the Annual ACM Symposium on Theory of Computing
    VolumePart F129722
    ISSN (Print)0737-8017

    Conference

    Conference24th Annual ACM Symposium on Theory of Computing, STOC 1992
    Country/TerritoryCanada
    CityVictoria
    Period5/4/925/6/92

    ASJC Scopus subject areas

    • Software

    Fingerprint

    Dive into the research topics of 'Alphabet independent two dimensional matching'. Together they form a unique fingerprint.

    Cite this