Word Motifs and a Generalized Hamming Distance
DOI:
https://doi.org/10.37256/cm.6120256175Keywords:
combinatorics on words, Hamming distance, word patterns, permutationsAbstract
Combinatorics on words is a relatively recent and rich field that involves formal grammar, algebra, geometry, fractals, algorithms, and coding, with initial research focused on repetitions in words. In this paper, we measure the differences between patterns shared by words of the same length. We introduce word motifs to represent collections of words that share the same underlying patterns, and we generalize the Hamming distance for comparing word motifs. A word motif is an equivalence class of words of the same length over an alphabet under the equivalence relation induced by symbol relabeling. We study initial problems in comparing word motifs. We compute the maximal generalized Hamming distance for k word motifs of length n over an alphabet of ℓ symbols, and we demonstrate how to calculate the exact generalized Hamming distance between a pair of word motifs.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Pengyu Liu, et al.

This work is licensed under a Creative Commons Attribution 4.0 International License.