核心概念
本文提出了一種簡單有效的動態圖演算法,用於解決允許回溯的共乘問題,並證明該演算法能維持低差異值和較低的回溯成本。
統計
該演算法能維持最大差異為 3。
每次添加邊操作最多需要 O(log²(n))次回溯。
每次刪除邊操作最多需要 O(log(n))次回溯。
高周長子圖中每個節點的出度最多為 2。
短循環的長度為 O(log(n))。
引用
"We give an algorithm for the fully-dynamic carpooling problem with recourse: Edges arrive and depart online from a graph G with n nodes according to an adaptive adversary."
"Our goal is to maintain an orientation H of G that keeps the discrepancy, defined as maxv∈V | deg+H(v) − 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]."