Constructing Circuit Codes by Permuting Initial Sequences

Constructing Circuit Codes by Permuting Initial Sequences

SUBMITTED TO ARXIV 1 Constructing circuit codes by permuting initial sequences Ed Wynn Abstract—Two new constructions are presented for coils 0 ≤ i < j ≤ N − 1 where D(xi; xj) is the number and snakes in the hypercube. Improvements are made d of coordinates of I in which xi and xj differ. In other on the best known results for snake-in-the-box coils of words, if two nodes are part of the circuit and the dimensions 9, 10 and 11, and for some other circuit codes distance between them is i ≤ k, then they must be of dimensions between 8 and 13. In the first construction, circuit codes are generated from permuted copies of an connected directly by i transitions in the sequence. initial transition sequence; the multiple copies constrain the A d-dimensional circuit code of spread 2 is here called search, so that long codes can be found relatively efficiently. a d-coil, following the terminology of [1]. Discovering In the second construction, two lower-dimensional paths long d-coils is known as the snake-in-the-box problem are joined together with only one or two changes in the [2], and d-coils have been called snakes [3]. In this work, highest dimension; this requires a search for a permutation d of the second sequence to fit around the first. It is possible to a d-snake is a simple path in I with spread 2. investigate sequences of vertices of the hypercube, including A circuit code can be described by its transition circuit codes, by connecting the corresponding vertices in sequence (c0; c1; : : : ; cN−1) , where ci specifies the co- an extended graph related to the hypercube. As an example ordinate that changes from xi to xi+1 (with wraparound of this, invertible circuit codes are briefly discussed. modulo N). This paper presents two new constructions Index Terms—Binary sequence, circuit code, coil, hyper- of circuit codes and some results of these constructions. cube, snake in the box. II. PERMUTED CIRCUIT CODES I. INTRODUCTION (0) (0) (0) (0) From an initial sequence c = (c0 ; c1 ; : : : ; cL−1), d arXiv:1201.1647v1 [math.CO] 8 Jan 2012 Let I be the graph of the d-dimensional hypercube. (p) (p) (p−1) we define permuted sequences c by ci = π(ci ) That is, the vertex set of Id is f0; 1gd, and two ver- for p ≥ 1 and 0 ≤ i ≤ L − 1, where π is a permu- tices are connected by an edge if and only if they tation of f0; 1; : : : ; d − 1g.A permuted circuit code of differ in exactly one coordinate. A d-dimensional circuit period P is then constructed as a circuit code whose code of length N and spread k ≥ 1 is a simple transition sequence is an initial sequence followed by circuit (x ; x ; : : : ; x ; x ) in Id with the property 0 1 N−1 0 P −1 permuted sequences: (c(0); c(1);:::; c(P −1)). It is that D(x ; x ) ≥ min(k; j − i; N + i − j) for all i j convenient to divide the vertices into the corresponding sequences of length L: we define x(p) to be x for E-mail [email protected] i pL+i Manuscript dated 8 January 2012. p ≥ 0 and 0 ≤ i ≤ L − 1. SUBMITTED TO ARXIV 2 An example of a permuted circuit code is one of the the example above, a permutation 01(24)35 and four longest 6-coils, with N = 26. This has P = 2. The an initial leap (1; 1; 1; 0; 1; 1) would be considered. initial sequence is (0; 1; 2; 0; 3; 1; 4; 0; 2; 5; 3; 1; 2), and The permuted leap is the same as the initial leap, the remainder is a simple permutation (merely swapping which returns to the initial vertex with P = 2. 2 and 4): (0; 1; 4; 0; 3; 1; 2; 0; 4; 5; 3; 1; 4). (The other • The skeleton of initial vertices (0) (1) (P −1) (0) three 6-coils with N = 26 can be described using (x0 ; x0 ; : : : ; x0 ; x0 ) is compared to terminology of later sections: one is asymmetric; one previous skeletons from the same permutation, and is natural; and one is invertible.) duplicates (up to isomorphism in Id) are rejected. When the initial vertex x0 is assumed without loss Effectively, this is a test whether the proposed of generality to be 0, then the initial leap is defined initial leap vector is equal to σ(v), where v is a (1) d to be the coordinate vector of x0 . This vector in I leap vector that has already been proposed, and will involve a change or no change in each coordinate, σ is a permutation that commutes with π. One according to whether the initial sequence has an even method for conducting this test is described in or odd number of changes in that coordinate. So, for Section V. the example of an initial sequence of in the previous • For a suitable permutation and initial leap, an ex- paragraph, the pair of changes in coordinate 3 cancels out haustive search with backtracking is then conducted (0) (1) but all other coordinates have odd numbers of changes, for initial sequences that link x0 to x0 . Whenever (0) so the initial leap is (1,1,1,0,1,1). a new change in ci is proposed, a new vertex (0) An algorithm for constructing permuted circuit codes xi+1 can be tested against the spread-k condition. is as follows: Also, the equivalent changes and equivalent vertices • All permutations π are generated, up to conjugacy. in the permuted sequences can be deduced and d • For each permutation, each of the 2 possible tested. Therefore, the backtracking search is subject vectors is proposed in turn as a possible initial to many constraints. If an initial sequence is found (1) leap. The initial leap is proposed before the initial that reaches x0 , then each permuted sequence also sequence, or even the length of the initial sequence, reaches the start of the next sequence, and this is known. finally defines L and the whole coil of N vertices, • When a permutation and an initial leap have been with N = LP . (1) (2) proposed, then successive vertices x0 , x0 , ::: can then be deduced: coordinate i of one leap vector is To summarise this algorithm: an initial leap defines equal to coordinate π(i) of the next. These vertices the leap from the starting-point of the initial sequence, (0) are generated until either the k-spread condition x0 , to the starting-point of the first permuted sequence, (1) is violated (in which case the initial leap is re- x0 . A permutation defines how the initial leap changes jected) or the initial vertex is revisited (so that into subsequent leaps. The algorithm looks for suc- (P ) (0) x0 = x0 for some P ). In this way, the period P cessful combinations of initial leap and permutation, of a permuted circuit code can be deduced from which define a skeleton of P starting-points that lead its permutation and its initial leap. To return to back to the initial vertex. Then a search is made for a SUBMITTED TO ARXIV 3 (0) (1) transition sequence from x0 to x0 . During this search, of lengths 348 and 640, longer than the previously each proposed transition defines a new change in each known longest, 344 and 630 [4]. For d-dimensional permuted sequence. There are two main advantages of circuit codes of spread 3, with d = 10 and 11, the this algorithm over a simple backtracking search: per- construction produces lengths of 100 and 160, longer muted copies of every proposed transition are additional than the previous known longest, 86 [5] and 154 [6]. constraints; and the initial sequence can be short but still These new circuit codes are detailed in the Appendix. produce a long coil. For all d ≥ 2, the transition sequence (0; 1; : : : ; d − 1; Another example is supplied, again in d = 6. Con- 0; 1; : : : ; d − 1) defines a d-dimensional circuit code of sider a permutation (345201) and an initial leap of length 2d and spread d. This can be described as a (0,1,1,0,0,0). Five permuted leaps are then (0,0,0,0,1,1), permuted circuit code with a length-1 initial sequence, (1,1,0,0,0,0), (0,0,0,1,1,0), (1,0,1,0,0,0) and (0,0,0,1,0,1). c(0) = (0), with π : i 7! (i + 1) mod d. It can be seen that the effect of these six leaps is to For all d ≥ 3, a permuted d-coil C of length 2d is return to the original vertex, so this defines a skele- defined by c(0) = (1; 0) and π : i 7! (i + 1) mod d. ton with P = 6. It turns out that a transition se- This coil contains all d neighbors of a vertex. (The vertex quence (0,1,2,0), which accomplishes the initial leap, itself is not part of the coil, of course.) This is most is compatible with the permuted sequences (3,4,5,3), easily seen by taking the first vertex of the circuit to be (2,0,1,2) and so on that accomplish the permuted f1; 0; 0;:::; 0g, with a single 1-coordinate in coordinate leaps, and a permuted coil of N = 24 is formed: 0. Each pair of changes: (0,1,2,0,3,4,5,3,2,0,1,2,5,3,4,5,1,2,0,1,4,5,3,4).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us