Abstract
In this paper we consider an edit distance with swap and mismatch operations, called tilde-distance, and introduce the corresponding definition of tilde-isometric word. Isometric words are classically defined with respect to Hamming distance and combine the notion of edit distance with the property that a word does not appear as factor in other words. A word [ ] is said tilde-isometric if, for any pair of [ ]-free words [ ] and [ ], there exists a minimal transformation from [ ] to [ ] via the related edit operations such that all the intermediate words are also [ ]-free. This new setting is here studied giving a full characterization of the tilde-isometric words in terms of overlaps with errors.
Funding Information
  • Ministero dell’Università e della Ricerca (CUP E83C23000330006)
  • Ministero dell’Università e della Ricerca (CUP E63C22001940006)
  • Gruppo Nazionale per il Calcolo Scientifico (CUP E53C23001670001)
  • Ministero dell’Università e della Ricerca (CUP B53C22001770006)
  • University of Salerno (ORSA232487)
  • TEAMS Project and PNRR MUR (PE0000013)