Dana Fisman

Senior Academic

When Is the Normalized Edit Distance over Non-Uniform Weights a Metric?

Dana Fisman, Ilay Tzarfati

The well known Normalized Edit Distance (ned) [Marzal and Vidal 1993] is known to disobey the triangle inequality on contrived weight functions, while in practice it often exhibits a triangular behavior. Let d be a weight function on basic edit operations, and let nedd be the resulting normalized edit distance. The question what criteria should d satisfy for nedd to be a metric is long standing. It was recently shown that when d is the uniform weight function (all operations cost 1 except for no-op which costs 0) then nedd is a metric. The question regarding non-uniform weights remained open. In this paper we answer this question by providing a necessary and sufficient condition on d under which nedd is a metric.

Publication language English
Publication status Published - 01.06.2024
Article Number 14

Keywords

Metric
Non-uniform Weights
Normalized Edit Distance
Triangle Inequality

ASJC Scopus subject areas

Software
Access to Document
10.4230/LIPIcs.CPM.2024.14
Other files and links
Link to publication in Scopus