Lune

Abstract

We introduce the algorithmic problem of finding a locally rainbow path of length ℓ connecting two distinguished vertices s and t in a vertex-colored directed graph. Herein, a path is locally rainbow if between any two visits of equally colored vertices, the path traverses consecutively at least r differently colored vertices. This problem generalizes the well-known problem of finding a rainbow path. It finds natural applications whenever there are different types of resources that must be protected from overuse, such as crop sequence optimization or production process scheduling. We show that the problem is computationally intractable even if r = 2 or if one looks for a locally rainbow among the shortest paths. On the positive side, if one looks for a path that takes only a short detour (i.e., it is slightly longer than the shortest path) and if r is small, the problem can be solved efficiently. Indeed, the running time of the respective algorithm is near-optimal unless the ETH fails.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fair Short Paths in Vertex-Colored Graphs cites A Refined Laser Method and Faster Matrix Multiplication
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
  2. Fair Short Paths in Vertex-Colored GraphsMatthias Bentert, Leon Kellerhals, Rolf NiedermeierAAAI 2023 · 4 citations

Related papers

  1. Fixed-Parameter Tractability of Maximum Colored Path and BeyondFedor V. Fomin, Petr A. Golovach, Tuukka Korhonen, Kirill Simonov et al.SODA 2023 · 1 citation
  2. Improved Inapproximability of Rainbow ColoringPer Austrin, Amey Bhangale, Aditya PotukuchiSODA 2020 · 19 citations
  3. Towards Generating Hop-constrained s-t Simple Path GraphsYuzheng Cai, Siyuan Liu, Weiguo Zheng, Xuemin LinSIGMOD 2023 · 9 citations
  4. Finding Densest Subgraphs with Edge-Color ConstraintsLutz Oettershagen, Honglian Wang, Aristides GionisWWW 2024 · 11 citations
  5. Sublogarithmic Distributed Vertex Coloring with Optimal Number of ColorsMaxime Flin, Magnús M. Halldórsson, Manuel Jakob, Yannic MausSTOC 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines