The round complexity of 3-colouring oriented cycles #
Deterministic LOCAL algorithms 3-colour oriented n-cycles with identifiers {0, …, n - 1} in
Θ(log* n) rounds. The Cole–Vishkin algorithm of Cole and Vishkin runs in
log* n + 3 rounds, and with two reduction steps per round in ⌈(log* n) / 2⌉ + 3 rounds. By the
lower bound of Linial, in the form of
Laurinharju and Suomela, any t-round algorithm has
log* n ≤ 2t + 2. The upper and lower bounds on the least number of
rounds differ by at most 4.
The statements use Algorithm.ColorsCycle, which is vacuous for n = 0; on the infinite oriented
path the upper bounds are threeColoring_run and fastThreeColoring_run. For identifiers from
{1, …, n} apply Algorithm.colorsCycle_comapInput_succ_iff.
Main results #
Cslib.Distributed.OrientedCycle.threeColoring_colorsCycle: Cole–Vishkin 3-colours inlog* n + 3rounds.Cslib.Distributed.OrientedCycle.fastThreeColoring_colorsCycle: two steps per round 3-colour in⌈(log* n) / 2⌉ + 3rounds.Cslib.Distributed.OrientedCycle.exists_colorsCycle_three_and_logStar_le: theΘ(log* n)round complexity of 3-colouring orientedn-cycles.
References #
Cole–Vishkin Cole and Vishkin: on oriented n-cycles, n ≠ 1, with
identifiers {0, …, n - 1}, the algorithm threeColoring (log* n) 3-colours within log* n + 3
rounds.
Cole–Vishkin with two steps per round: on oriented n-cycles, n ≠ 1, with identifiers
{0, …, n - 1}, the algorithm fastThreeColoring s 3-colours within s + 3 rounds when
log* n ≤ 2 s, for instance for s = ⌈(log* n) / 2⌉.
The round complexity of 3-colouring oriented cycles is Θ(log* n). For n ≠ 1, some
deterministic LOCAL algorithm properly 3-colours every oriented n-cycle with identifiers
{0, …, n - 1} within ⌈(log* n) / 2⌉ + 3 rounds Cole and Vishkin, and every
algorithm doing so within t rounds has log* n ≤ 2t + 2 Linial.