DIKUL - logo
E-resources
Full text
Peer reviewed Open access
  • Levenshtein graphs: Resolva...
    Ruth, Perrin E.; Lladser, Manuel E.

    Discrete mathematics, 20/May , Volume: 346, Issue: 5
    Journal Article

    We introduce the notion of Levenshtein graphs, an analog to Hamming graphs but using the edit distance instead of the Hamming distance; in particular, vertices in Levenshtein graphs may be strings (i.e., words or sequences of characters in a reference alphabet) of possibly different lengths. We study various properties of these graphs, including a necessary and sufficient condition for their shortest path distance to be identical to the edit distance, and characterize their automorphism group and determining number. We also bound the metric dimension (i.e. minimum resolving set size) of Levenshtein graphs. Regarding the latter, recall that a run is a string composed of identical characters. We construct a resolving set of two-run strings and an algorithm that computes the edit distance between a string of length k and any single-run or two-run string in O(k) operations.