On the complexity of finding $k$ shortest dissimilar paths in a graph - Archive ouverte HAL
Rapport (Rapport De Recherche) Année : 2021

On the complexity of finding $k$ shortest dissimilar paths in a graph

Résumé

The similarity between two paths can be measured according to the proportion of arcs they share. We study the complexity of several variants of the problem of computing "dissimilar" paths (whose measure of similarity does not exceed a certain threshold) between two given vertices of a weighted directed graph. For four of the most studied measures in the literature, we give a unified and simple proof of the fact that finding $k$ shortest dissimilar paths is NP-complete. We then consider the problem of finding an alternative to one or more given paths. We show that finding a path that is dissimilar to another given path can be done in polynomial time for one of the four considered measures while it is NP-complete for the three remaining measures. In addition, we show that if $k$ = 2 paths are given, finding a new path that is dissimilar to the given ones is NP-complete even on DAGs for the four considered measures. Moreover, for the four considered measures, we show that if a path $P$ is given, finding a shortest path among those that are dissimilar to P is NP-complete in DAGs.
Fichier principal
Vignette du fichier
HAL.pdf (251.12 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03187276 , version 1 (31-03-2021)
hal-03187276 , version 2 (29-09-2021)

Identifiants

  • HAL Id : hal-03187276 , version 1

Citer

Ali Al Zoobi, David Coudert, Nicolas Nisse. On the complexity of finding $k$ shortest dissimilar paths in a graph. [Research Report] Inria; CNRS; I3S; UCA. 2021, pp.9. ⟨hal-03187276v1⟩
224 Consultations
301 Téléchargements

Partager

More