English

A Simple Algorithm for Dynamic Carpooling with Recourse

Data Structures and Algorithms 2024-11-26 v2

Abstract

We give an algorithm for the fully-dynamic carpooling problem with recourse: Edges arrive and depart online from a graph GG with nn nodes according to an adaptive adversary. Our goal is to maintain an orientation HH of GG that keeps the discrepancy, defined as maxvVdegH+(v)degH(v)\max_{v \in V} |\text{deg}_H^+(v) - \text{deg}_H^-(v)|, small at all times. We present a simple algorithm and analysis for this problem with recourse based on cycles that simplifies and improves on a result of Gupta et al. [SODA '22].

Keywords

Cite

@article{arxiv.2411.07553,
  title  = {A Simple Algorithm for Dynamic Carpooling with Recourse},
  author = {Yuval Efron and Shyamal Patel and Cliff Stein},
  journal= {arXiv preprint arXiv:2411.07553},
  year   = {2024}
}

Comments

To appear in SOSA 2025

R2 v1 2026-06-28T19:56:31.486Z