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 (Formula presented.) has a buffer with (Formula presented.) 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 (Formula presented.) 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 (Formula presented.) and on trees when (Formula presented.). We improve on these results by means of two new tools, weak deadlock sets and wise states. We show that for general networks and (Formula presented.) 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 (Formula presented.). 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.

Oriolo, G., Russo Russo, A. (2025). Avoiding Deadlocks via Weak Deadlock Sets. NETWORKS, 86(1), 48-56 [10.1002/net.22275].

Avoiding Deadlocks via Weak Deadlock Sets

Gianpaolo Oriolo, Gianpaolo
;
Russo Russo, Anna
2025-01-01

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 (Formula presented.) has a buffer with (Formula presented.) 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 (Formula presented.) 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 (Formula presented.) and on trees when (Formula presented.). We improve on these results by means of two new tools, weak deadlock sets and wise states. We show that for general networks and (Formula presented.) 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 (Formula presented.). 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.
2025
Pubblicato
Rilevanza internazionale
Articolo
Esperti anonimi
Settore MATH-06/A - Ricerca operativa
English
Bound to deadlock state; Characterizations; Complexity analysis; Deadlock; Deadlock avoidance algorithm; Trees
Oriolo, G., Russo Russo, A. (2025). Avoiding Deadlocks via Weak Deadlock Sets. NETWORKS, 86(1), 48-56 [10.1002/net.22275].
Oriolo, G; Russo Russo, A
Articolo su rivista
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/455403
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact