Gray Codes Avoiding Matchings
نویسندگان
چکیده
A (cyclic) n-bit Gray code is a (cyclic) ordering of all 2 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 Qn, and a cyclic Gray code as a Hamiltonian cycle of Qn. 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 Qn, 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, Qn has a (cyclic) Gray code that avoids M if and only if Qn −M is a connected graph. This complements a recent result of Fink, who proved that every perfect matching of Qn can be extended to a Hamiltonian cycle. Furthermore, our results imply that the problem of Hamiltonicity of Qn with faulty edges, which is NP-complete in general, becomes polynomial for up to 2n−1 edges provided they form a matching.
منابع مشابه
Gray Codes Faulting Matchings
A (cyclic) n-bit Gray code is a (cyclic) ordering of all 2 binary strings of length n such that consecutive strings differ in a single bit. Equivalently, an nbit Gray code can be viewed as a Hamiltonian path of the n-dimensional hypercube Qn, and a cyclic Gray code as a Hamiltonian cycle of Qn. In this paper we study Hamiltonian paths and cycles of Qn avoiding a given set of faulty edges that f...
متن کاملCombinatorial Gray codes for classes of pattern avoiding permutations
The past decade has seen a flurry of research into pattern avoiding permutations but little of it is concerned with their exhaustive generation. Many applications call for exhaustive generation of permutations subject to various constraints or imposing a particular generating order. In this paper we present generating algorithms and combinatorial Gray codes for several families of pattern avoid...
متن کاملMore restrictive Gray codes for some classes of pattern avoiding permutations
In a recent article [11], Dukes, Flanagan, Mansour and Vajnovszki present Gray codes for several families of pattern avoiding permutations. In their Gray codes two consecutive objects differ in at most four or five positions, which is not optimal. In this paper, we present a unified construction in order to refine their results (or to find other Gray codes). In particular, we obtain more restri...
متن کاملMatchings Avoiding Partial Patterns and Lattice Paths
In this paper, we consider matchings avoiding partial patterns 1123 and 1132. We give a bijection between 1123-avoiding matchings with n edges and nonnegative lattice paths from (0, 2) to (2n, 0). As a consequence, the refined enumeration of 1123-avoiding matchings can be reduced to the enumeration of certain lattice paths. Another result of this paper is a bijection between 1132-avoiding match...
متن کاملMatchings Avoiding Partial Patterns
We show that matchings avoiding a certain partial pattern are counted by the 3Catalan numbers. We give a characterization of 12312-avoiding matchings in terms of restrictions on the corresponding oscillating tableaux. We also find a bijection between matchings avoiding both patterns 12312 and 121323 and Schröder paths without peaks at level one, which are counted by the super-Catalan numbers or...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Discrete Mathematics & Theoretical Computer Science
دوره 11 شماره
صفحات -
تاریخ انتشار 2009