arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.00728cs.DS
收藏

更快的全对最优电动汽车路径规划

Faster All-Pairs Optimal Electric Car Routing

Dani Dorfman, Haim Kaplan, Robert E. Tarjan, Mikkel Thorup, Uri Zwick

AI总结:

提出一种随机化 $\tilde{O}(n^{3.5})$ 时间算法,计算含负代价环图中电动汽车所有顶点对的最优能量路径,改进了现有算法的时间复杂度。

摘要:

我们提出了一种随机化 $\tilde{O}(n^{3.5})$ 时间复杂度的算法,用于在一个具有正负 \emph{代价} 的 $n$ 顶点有向图中,计算电动汽车在所有顶点对之间的 \emph{最优能量路径}。即使图中包含负代价环,最优能量路径也是有限的且定义明确的。这使得该问题比标准最短路径问题更具挑战性。更具体地说,对于图中的每两个顶点 $s$ 和 $t$,算法计算 $\alpha_B(s,t)$,即汽车从 $s$ 出发且电池充满(即电量为 $B$,其中 $B$ 为电池容量)时,到达 $t$ 所能保留的最大电量。在存在负代价环的情况下,最优路径不一定是简单路径。对于稠密图,我们新的 $\tilde{O}(n^{3.5})$ 时间复杂度算法改进了 Dorfman 等人 [ESA 2023] 先前针对该问题提出的 $\tilde{O}(mn^{2})$ 时间复杂度算法。一条弧的 \emph{代价} 是汽车在通过该弧时从电池中消耗的电量。电池中的电量永远不能超过电池的容量 $B$,也不能为负。负代价弧可能对应于下坡路段,而正代价弧可能对应于上坡路段。如果存在负代价环,在某些情况下可以利用它将电池充电至满容量。这使得该问题更有趣且更具挑战性。当某些路段具有磁充电条,或者电动汽车装有太阳能板时,就可能出现负代价环。结合 Dorfman 等人 [SOSA 2024] 的结果,当电池可以在中间顶点以不同成本进行外部充电时,这也提供了一种随机化 $\tilde{O}(n^{3.5})$ 时间复杂度的算法,用于计算 $n$ 顶点图中所有顶点对之间的 \emph{最小代价路径}。

英文摘要:

We present a randomized $\tilde{O}(n^{3.5})$-time algorithm for computing \emph{optimal energetic paths} for an electric car between all pairs of vertices in an $n$-vertex directed graph with positive and negative \emph{costs}. The optimal energetic paths are finite and well-defined even if the graph contains negative-cost cycles. This makes the problem much more challenging than standard shortest paths problems. More specifically, for every two vertices $s$ and~$t$ in the graph, the algorithm computes $α_B(s,t)$, the maximum amount of charge the car can reach~$t$ with, if it starts at~$s$ with full battery, i.e., with charge~$B$, where~$B$ is the capacity of the battery. In the presence of negative-cost cycles, optimal paths are not necessarily simple. For dense graphs, our new $\tilde{O}(n^{3.5})$ time algorithm improves on a previous $\tilde{O}(mn^{2})$-time algorithm of Dorfman et al. [ESA 2023] for the problem. The \emph{cost} of an arc is the amount of charge taken from the battery of the car when traversing the arc. The charge in the battery can never exceed the capacity~$B$ of the battery and can never be negative. An arc of negative cost may correspond, for example, to a downhill road segment, while an arc with a positive cost may correspond to an uphill segment. A negative-cost cycle, if one exists, can be used in certain cases to charge the battery to its capacity. This makes the problem more interesting and more challenging. Negative-cost cycles may arise when certain road segments have magnetic charging strips, or when the electric car has solar panels. Combined with a result of Dorfman et al. [SOSA 2024], this also provides a randomized $\tilde{O}(n^{3.5})$-time algorithm for computing \emph{minimum-cost paths} between all pairs of vertices in an $n$-vertex graph when the battery can be externally recharged, at varying costs, at intermediate vertices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑