An Eulerian walk (or Eulerian trail) is a walk (resp. trail) that visits every edge of a graph G at least (resp. exactly) once. This notion was first discussed by Leonhard Euler while solving the famous Seven Bridges of Königsberg problem in 1736. But what if Euler had to take a bus? In a temporal graph (G,λ), with λ:E(G)→2[τ], an edge e∈E(G) is available only at the times specified by λ(e)⊆[τ], in the same way the connections of the public transportation network of a city or of sightseeing tours are available only at scheduled times. In this paper, we deal with temporal walks, local trails, and trails, respectively referring to edge traversal with no constraints, constrained to not repeating the same edge in a single timestamp, and constrained to never repeating the same edge throughout the entire traversal. We show that, if the edges are always available, then deciding whether (G,λ) has a temporal walk or trail is polynomial, while deciding whether it has a local trail is NP-complete even if τ=2. In contrast, in the general case, solving any of these problems is NP-complete, even under very strict hypotheses. We finally give XP algorithms parametrized by τ for walks, and by τ+tw(G) for trails and local trails, where tw(G) refers to the treewidth of G.

Eulerian Walks in Temporal Graphs / Marino A.; Silva A.. - In: ALGORITHMICA. - ISSN 0178-4617. - ELETTRONICO. - (2022), pp. 0-0. [10.1007/s00453-022-01021-y]

Eulerian Walks in Temporal Graphs

Marino A.
;
Silva A.
2022

Abstract

An Eulerian walk (or Eulerian trail) is a walk (resp. trail) that visits every edge of a graph G at least (resp. exactly) once. This notion was first discussed by Leonhard Euler while solving the famous Seven Bridges of Königsberg problem in 1736. But what if Euler had to take a bus? In a temporal graph (G,λ), with λ:E(G)→2[τ], an edge e∈E(G) is available only at the times specified by λ(e)⊆[τ], in the same way the connections of the public transportation network of a city or of sightseeing tours are available only at scheduled times. In this paper, we deal with temporal walks, local trails, and trails, respectively referring to edge traversal with no constraints, constrained to not repeating the same edge in a single timestamp, and constrained to never repeating the same edge throughout the entire traversal. We show that, if the edges are always available, then deciding whether (G,λ) has a temporal walk or trail is polynomial, while deciding whether it has a local trail is NP-complete even if τ=2. In contrast, in the general case, solving any of these problems is NP-complete, even under very strict hypotheses. We finally give XP algorithms parametrized by τ for walks, and by τ+tw(G) for trails and local trails, where tw(G) refers to the treewidth of G.
2022
0
0
Marino A.; Silva A.
File in questo prodotto:
File Dimensione Formato  
s00453-022-01021-y.pdf

accesso aperto

Tipologia: Pdf editoriale (Version of record)
Licenza: Creative commons
Dimensione 663.51 kB
Formato Adobe PDF
663.51 kB Adobe PDF

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

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/1284192
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
social impact