Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. Gray codes avoiding ...
Article

Gray codes avoiding matchings

Darko Dimitrov (1), Tomáš Dvořák ORCID (2), Petr Gregor ORCID (2), Riste Škrekovski ORCID (3)
(1) Institut für Informatik [Berlin]
(2) Faculty of Mathematics and Physics [Praha/Prague]
(3) Oddelek za Matematiko
Download article
Open on HAL
Imported on
March 26, 2015
Published on
January 1, 2009
Last modified on
March 31, 2025
Volume 11
vol. 11:2
Graph and Algorithms
DOI
10.46298/dmtcs.457
License
https://about.hal.science/hal-authorisation-v1
Indicators
905
Views
1218
Downloads

Gray codes avoiding matchings

Darko Dimitrov (1), Tomáš Dvořák ORCID (2), Petr Gregor ORCID (2), Riste Škrekovski ORCID (3)
(1) Institut für Informatik [Berlin]
(2) Faculty of Mathematics and Physics [Praha/Prague]
(3) Oddelek za Matematiko
Abstract
A (cyclic) n-bit Gray code is a (cyclic) ordering of all 2(n) binary strings of length n such that consecutive strings differ in a single bit. Equivalently, an n-bit Gray code can be viewed as a Hamiltonian path of the n-dimensional hypercube Q(n), and a cyclic Gray code as a Hamiltonian cycle of Q(n). In this paper we study (cyclic) Gray codes avoiding a given set of faulty edges that form a matching. Given a matching M and two vertices u, v of Q(n), n >= 4, our main result provides a necessary and sufficient condition, expressed in terms of forbidden configurations for M, for the existence of a Gray code between u and v that avoids M. As a corollary. we obtain a similar characterization for a cyclic Gray code avoiding M. In particular, in the case that M is a perfect matching, Q(n) has a (cyclic) Gray code that avoids M if and only if Q(n) - M is a connected graph. This complements a recent result of Fink, who proved that every perfect matching of Q(n) can be extended to a Hamiltonian cycle. Furthermore, our results imply that the problem of Hamilionicity of Q(n) with faulty edges, which is NP-complete in general, becomes polynomial for up to 2(n-1) edges provided they form a matching.
Keywords
  • [INFO.INFO-DM]Computer Science [cs]/Discrete Mathematics [cs.DM]
Cited by

Source: OpenCitations

  • Hamiltonian paths passing through matchings in hypercubes with faulty edges

    AIMS Mathematics

    Authors : Shenyang Zhao, Fan Wang ORCID

    Journal reference : Volume 9, 2024, pp. 33692-33711

    DOI : 10.3934/math.20241608
Preview
Loading PDF preview...