{"title":"Harmonious colourings of temporal matchings","authors":"Duncan Adamson","doi":"10.1016/j.tcs.2025.115437","DOIUrl":null,"url":null,"abstract":"<div><div>Graph colouring is a fundamental problem in computer science, with a large body of research dedicated to both the general colouring problem and restricted cases. <em>Harmonious colourings</em> are one such restriction, where each edge must contain a globally unique pair of colours, i.e. if an edge connects a vertex coloured <em>x</em> with a vertex coloured <em>y</em>, then no other pair of connected vertices can be coloured <em>x</em> and <em>y</em>. Finding such a colouring in the traditional graph setting is known to be NP-hard, even in trees. This paper considers the generalisation of harmonious colourings to <em>Temporal Graphs</em>, specifically <span><math><mo>(</mo><mi>k</mi><mo>,</mo><mi>t</mi><mo>)</mo></math></span><em>-Temporal matchings</em>, a class of temporal graphs where the underlying graph is a matching (a collection of disconnected components containing pairs of vertices), each edge can appear in at most <em>t</em> timesteps, and each timestep can contain at most <em>k</em> other edges. We provide a complete overview of the complexity landscape of finding <em>temporal harmonious colourings</em> for <span><math><mo>(</mo><mi>k</mi><mo>,</mo><mi>t</mi><mo>)</mo></math></span>-matchings. We show that finding a <em>Temporal Harmonious Colouring</em>, a colouring that is harmonious in each timestep, is NP-hard for <em>(k,t)-Temporal Matchings</em> when <span><math><mi>k</mi><mo>≥</mo><mn>2</mn><mo>,</mo><mi>t</mi><mo>≥</mo><mn>4</mn></math></span>, or when <span><math><mi>k</mi><mo>≥</mo><mn>3</mn></math></span> and <span><math><mi>t</mi><mo>≥</mo><mn>2</mn></math></span>. We further show that this problem is inapproximable for <span><math><mi>t</mi><mo>≥</mo><mn>2</mn></math></span> and an unbounded value of <em>k</em>, and that the problem of determining the temporal harmonious chromatic number of a <span><math><mo>(</mo><mn>2</mn><mo>,</mo><mn>3</mn><mo>)</mo></math></span>-temporal matching can be determined in linear time. Finally, we strengthen this result by a set of upper and lower bounds of the temporal harmonious chromatic number both for individual temporal matchings and for the classes of <span><math><mo>(</mo><mi>k</mi><mo>,</mo><mi>t</mi><mo>)</mo></math></span>-temporal matchings, paths, and cycles.</div></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1053 ","pages":"Article 115437"},"PeriodicalIF":1.0000,"publicationDate":"2025-07-03","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/S0304397525003755","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Graph colouring is a fundamental problem in computer science, with a large body of research dedicated to both the general colouring problem and restricted cases. Harmonious colourings are one such restriction, where each edge must contain a globally unique pair of colours, i.e. if an edge connects a vertex coloured x with a vertex coloured y, then no other pair of connected vertices can be coloured x and y. Finding such a colouring in the traditional graph setting is known to be NP-hard, even in trees. This paper considers the generalisation of harmonious colourings to Temporal Graphs, specifically -Temporal matchings, a class of temporal graphs where the underlying graph is a matching (a collection of disconnected components containing pairs of vertices), each edge can appear in at most t timesteps, and each timestep can contain at most k other edges. We provide a complete overview of the complexity landscape of finding temporal harmonious colourings for -matchings. We show that finding a Temporal Harmonious Colouring, a colouring that is harmonious in each timestep, is NP-hard for (k,t)-Temporal Matchings when , or when and . We further show that this problem is inapproximable for and an unbounded value of k, and that the problem of determining the temporal harmonious chromatic number of a -temporal matching can be determined in linear time. Finally, we strengthen this result by a set of upper and lower bounds of the temporal harmonious chromatic number both for individual temporal matchings and for the classes of -temporal matchings, paths, and cycles.
期刊介绍:
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.