Forwarding Packets Greedily

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Boyar, Joan, Favrholdt, Lene M., Larsen, Kim S., Schewior, Kevin, van Stee, Rob
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917317996183552
author Boyar, Joan
Favrholdt, Lene M.
Larsen, Kim S.
Schewior, Kevin
van Stee, Rob
author_facet Boyar, Joan
Favrholdt, Lene M.
Larsen, Kim S.
Schewior, Kevin
van Stee, Rob
contents We consider the problem of forwarding packets arriving online with their destinations in a line network. In each time step, each router can forward one packet along the edge to its right. Each packet that is forwarded arrives at the next router one time step later. Packets are forwarded until they reach their destination. The flow time of a packet is the difference between its release time and the time of its arrival at its destination. The goal is to minimize the maximum flow time. This problem was introduced by Antoniadis et al.~in 2014. They propose a collection of natural algorithms and prove for one, and claim for others, that none of them are $O(1)$-competitive. It was posed as an open problem whether such an algorithm exists. We make the first progress on answering this question. We consider the special case where each packet needs to be forwarded by exactly one or two routers. We show that a greedy algorithm, which was not previously considered for this problem, achieves a competitive ratio of exactly $2-2^{1-k}$, where $k$ is the number of active routers in the network. We also give a general lower bound of $4/3$, even for randomized algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2603_06039
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Forwarding Packets Greedily
Boyar, Joan
Favrholdt, Lene M.
Larsen, Kim S.
Schewior, Kevin
van Stee, Rob
Data Structures and Algorithms
F.2.2
We consider the problem of forwarding packets arriving online with their destinations in a line network. In each time step, each router can forward one packet along the edge to its right. Each packet that is forwarded arrives at the next router one time step later. Packets are forwarded until they reach their destination. The flow time of a packet is the difference between its release time and the time of its arrival at its destination. The goal is to minimize the maximum flow time. This problem was introduced by Antoniadis et al.~in 2014. They propose a collection of natural algorithms and prove for one, and claim for others, that none of them are $O(1)$-competitive. It was posed as an open problem whether such an algorithm exists. We make the first progress on answering this question. We consider the special case where each packet needs to be forwarded by exactly one or two routers. We show that a greedy algorithm, which was not previously considered for this problem, achieves a competitive ratio of exactly $2-2^{1-k}$, where $k$ is the number of active routers in the network. We also give a general lower bound of $4/3$, even for randomized algorithms.
title Forwarding Packets Greedily
topic Data Structures and Algorithms
F.2.2
url https://arxiv.org/abs/2603.06039