Pré-Publication, Document De Travail (Preprint/Prepublication) Année : 2025

A Subquadratic Algorithm for Computing the L1-distance between Two Terrains

Pankaj K. Agarwal
  • Fonction : Auteur
  • PersonId : 1496018
Boris Aronov
  • Fonction : Auteur
  • PersonId : 992871

Résumé

We study the problem of computing the L1-distance between two piecewise-linear bivariate functions f and g, defined over a common bounded domain M ⊂ R 2 , that is, computing the quantity ∥f -g∥1 = M |f (x, y)-g(x, y)| dx dy. If f and g are defined by linear interpolation over triangulations T f and Tg, respectively, of M with a total of n triangles, we show that ∥f -g∥1 can be computed in Õ(n (ω+1)/2 ) time, where Θ(n ω ) is the time required to multiply two n × n matrices and Õ notation hides polylogarithmic factors; this bound holds for the currently best known value of ω, which is approximately 2.37. The previously best known algorithm for computing ∥f -g∥1 takes Θ(n 2 ) time in the worst case. More generally, if the complexity of the overlay of T f and Tg is κ, then the runtime of our algorithm is Õ(κ (ω-1)/2 n (3-ω)/2 ).
Fichier principal
Vignette du fichier
socg-abs.pdf (467.42 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04908634 , version 1 (23-01-2025)

Identifiants

  • HAL Id : hal-04908634 , version 1

Citer

Pankaj K. Agarwal, Boris Aronov, Guillaume Moroz. A Subquadratic Algorithm for Computing the L1-distance between Two Terrains. 2025. ⟨hal-04908634v1⟩
0 Consultations
0 Téléchargements

Partager

More