Avoiding Deadlocks via Weak Deadlock Sets

ABSTRACT A deadlock occurs in a network when two or more items prevent each other from moving and are stalled. In a general model, items are stored at vertices and each vertex has a buffer with slots. Given a route for each item toward its destination, the Deadlock Safety Problem asks whether the current state is safe , that is, it is possible to deliver each item at its destination, or is bound to deadlock , that is, any sequence of moves will end up with a set of items stalled. While when the problem is solvable in polynomial time building upon a nice characterization of YES/NO‐instances, it is NP‐hard on quite simple graphs as grids when and on trees when . We improve on these results by means of two new tools, weak deadlock sets and wise states. We show that for general networks and a state that is wise and without weak deadlock sets—this can be recognized in polynomial time—is safe: this is indeed a strengthening of the result for . We sharpen this result for trees, where we show that a wise state is safe if and only if it has no weak deadlock set. That is interesting in particular in the context of rail transportation where networks are often single‐tracked and deadlock detection and avoidance focuses on local sub‐networks, mostly with a tree‐like structure. We pose some research questions for future investigations.

Authors

Institutions

Publication Details

Journal
Networks
Published
2025-03-19
DOI
https://doi.org/10.1002/net.22275
Primary Topic
Petri Nets in System Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Avoiding Deadlocks via Weak Deadlock Sets

Gianpaolo Oriolo, Anna Russo Russo
Networks
Petri Nets in System Modeling
article

Avoiding Deadlocks via Weak Deadlock Sets

Gianpaolo Oriolo, Anna Russo Russo
article en

Abstract

ABSTRACT A deadlock occurs in a network when two or more items prevent each other from moving and are stalled. In a general model, items are stored at vertices and each vertex has a buffer with slots. Given a route for each item toward its destination, the Deadlock Safety Problem asks whether the current state is safe , that is, it is possible to deliver each item at its destination, or is bound to deadlock , that is, any sequence of moves will end up with a set of items stalled. While when the problem is solvable in polynomial time building upon a nice characterization of YES/NO‐instances, it is NP‐hard on quite simple graphs as grids when and on trees when . We improve on these results by means of two new tools, weak deadlock sets and wise states. We show that for general networks and a state that is wise and without weak deadlock sets—this can be recognized in polynomial time—is safe: this is indeed a strengthening of the result for . We sharpen this result for trees, where we show that a wise state is safe if and only if it has no weak deadlock set. That is interesting in particular in the context of rail transportation where networks are often single‐tracked and deadlock detection and avoidance focuses on local sub‐networks, mostly with a tree‐like structure. We pose some research questions for future investigations.

NetworksVol. 86(1)
University of Rome Tor Vergata (IT)
Openalex Percentile: Top 94%
Petri Nets in System Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.