## Abstract

In this work we derandomize two central results in graph algorithms, replacement paths and distance sensitivity oracles (DSOs) matching in both cases the running time of the randomized algorithms. For the replacement paths problem, let G = (V, E) be a directed unweighted graph with n vertices and m edges and let P be a shortest path from s to t in G. The replacement paths problem is to find for every edge e ∈ P the shortest path from s to t avoiding e. Roditty and Zwick [ICALP 2005] obtained a randomized algorithm with running time of O^{e}(m√n). Here we provide the first deterministic algorithm for this problem, with the same O^{e}(m√n) time. Due to matching conditional lower bounds of Williams et al. [FOCS 2010], our deterministic combinatorial algorithm for the replacement paths problem is optimal up to polylogarithmic factors (unless the long standing bound of O^{e}(mn) for the combinatorial boolean matrix multiplication can be improved). This also implies a deterministic algorithm for the second simple shortest path problem in O^{e}(m√n) time, and a deterministic algorithm for the k-simple shortest paths problem in O^{e}(km√n) time (for any integer constant k > 0). For the problem of distance sensitivity oracles, let G = (V, E) be a directed graph with real-edge weights. An f-Sensitivity Distance Oracle (f-DSO) gets as input the graph G = (V, E) and a parameter f, preprocesses it into a data-structure, such that given a query (s, t, F) with s, t ∈ V and F ⊆ E ∪ V, |F| ≤ f being a set of at most f edges or vertices (failures), the query algorithm efficiently computes the distance from s to t in the graph G \ F (i.e., the distance from s to t in the graph G after removing from it the failing edges and vertices F). For weighted graphs with real edge weights, Weimann and Yuster [FOCS 2010] presented several randomized f-DSOs. In particular, they presented a combinatorial f-DSO with O^{e}(mn^{4}−^{α}) preprocessing time and subquadratic O^{e}(n^{2}−2(1−α)^{/f}) query time, giving a tradeoff between preprocessing and query time for every value of 0 < α < 1. We derandomize this result and present a combinatorial deterministic f-DSO with the same asymptotic preprocessing and query time.

Original language | English |
---|---|

Title of host publication | 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019 |

Editors | Christel Baier, Ioannis Chatzigiannakis, Paola Flocchini, Stefano Leonardi |

Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |

ISBN (Electronic) | 9783959771092 |

DOIs | |

State | Published - 1 Jul 2019 |

Event | 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019 - Patras, Greece Duration: 9 Jul 2019 → 12 Jul 2019 |

### Publication series

Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|

Volume | 132 |

ISSN (Print) | 1868-8969 |

### Conference

Conference | 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019 |
---|---|

Country/Territory | Greece |

City | Patras |

Period | 9/07/19 → 12/07/19 |

## Keywords

- Derandomization
- Distance sensitivity oracles
- Replacement paths