{"title":"Finding trails in multigraphs with restricted transitions","authors":"Hortensia Galeana-Sánchez , Carlos Vilchis-Alfaro","doi":"10.1016/j.tcs.2026.115798","DOIUrl":null,"url":null,"abstract":"<div><div>Let <em>G</em> be a multigraph. A transition in <em>G</em> is a pair of adjacent edges. For each vertex <em>x</em> of <em>G</em>, a set <em>T</em>(<em>x</em>) of allowed transition with respect to <em>x</em> is a set of unordered pairs of edges incident to <em>x</em>. A transition system <em>T</em> is a set {<em>T</em>(<em>x</em>): <em>x</em> ∈ <em>V</em>(<em>G</em>)}, where <em>T</em>(<em>x</em>) is a fixed set of allowed transition with respect to <em>x</em>. Given a multigraph <em>G</em> and a transition system <em>T</em>, for each <em>x</em> ∈ <em>V</em>(<em>G</em>), the transition graph of <em>x</em>, denoted by <em>G<sub>x</sub></em>, is a graph such that its vertex set is the set of edges incident to <em>x</em>; and two vertices <em>e</em> and <em>g</em> of <em>G<sub>x</sub></em> are adjacent whenever <em>eg</em> ∈ <em>T</em>(<em>x</em>). A trail <span><math><mrow><mi>P</mi><mo>=</mo><mo>(</mo><msub><mi>x</mi><mn>0</mn></msub><mo>,</mo><msub><mi>e</mi><mn>0</mn></msub><mo>,</mo><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo><mo>…</mo><mo>,</mo><msub><mi>x</mi><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo>,</mo><msub><mi>e</mi><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo>,</mo><msub><mi>x</mi><mi>k</mi></msub><mo>)</mo></mrow></math></span> in <em>G</em> is <em>T</em>-compatible if for every <span><math><mrow><mi>i</mi><mo>∈</mo><mo>{</mo><mn>0</mn><mo>,</mo><mo>…</mo><mo>,</mo><mi>k</mi><mo>−</mo><mn>2</mn><mo>}</mo></mrow></math></span>, <span><math><mrow><msub><mi>e</mi><mi>i</mi></msub><msub><mi>e</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>∈</mo><mi>T</mi><mrow><mo>(</mo><msub><mi>x</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>)</mo></mrow></mrow></math></span>.</div><div>In this paper we deal with the problem of finding <em>T</em>-compatible trails between <em>s</em> and <em>t</em> two given vertices in a multigraph with transition system <em>T</em>. First, we prove that finding a <em>T</em>-compatible trail between two given edges can be done in polynomial time. Consequently, finding a <em>T</em>-compatible <span><math><mrow><mi>s</mi><mo>−</mo><mi>t</mi></mrow></math></span> trail can be done in polynomial time. Moreover, it can be found a shortest <em>T</em>-compatible <span><math><mrow><mi>s</mi><mo>−</mo><mi>t</mi></mrow></math></span> trail and a closed <em>T</em>-compatible trail containing a given vertex in polynomial time. Finally, we study multigraphs with transition systems such that their transition graph is connected or complete multipartite graph. The properly colored setting is a particular case of transition systems where all its transition graphs are complete multipartite graphs.</div></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1069 ","pages":"Article 115798"},"PeriodicalIF":1.1000,"publicationDate":"2026-04-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304397526000575","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/5 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Let G be a multigraph. A transition in G is a pair of adjacent edges. For each vertex x of G, a set T(x) of allowed transition with respect to x is a set of unordered pairs of edges incident to x. A transition system T is a set {T(x): x ∈ V(G)}, where T(x) is a fixed set of allowed transition with respect to x. Given a multigraph G and a transition system T, for each x ∈ V(G), the transition graph of x, denoted by Gx, is a graph such that its vertex set is the set of edges incident to x; and two vertices e and g of Gx are adjacent whenever eg ∈ T(x). A trail in G is T-compatible if for every , .
In this paper we deal with the problem of finding T-compatible trails between s and t two given vertices in a multigraph with transition system T. First, we prove that finding a T-compatible trail between two given edges can be done in polynomial time. Consequently, finding a T-compatible trail can be done in polynomial time. Moreover, it can be found a shortest T-compatible trail and a closed T-compatible trail containing a given vertex in polynomial time. Finally, we study multigraphs with transition systems such that their transition graph is connected or complete multipartite graph. The properly colored setting is a particular case of transition systems where all its transition graphs are complete multipartite graphs.
期刊介绍:
Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.