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.
Domaines
Complexité [cs.CC]
Fichier principal
On_the_k_top_shortest_paths_with_dissimilarity_constraints-v2.pdf (251.34 Ko)
Télécharger le fichier
Origine | Fichiers produits par l'(les) auteur(s) |
---|