Next Article in Journal
A Distributed Indexing Method for Timeline Similarity Query
Next Article in Special Issue
Introduction to Reconfiguration
Previous Article in Journal
On Hierarchical Text Language-Identification Algorithms
Previous Article in Special Issue
Vertex Cover Reconfiguration and Beyond
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Connectivity and Hamiltonicity of Canonical Colouring Graphs of Bipartite and Complete Multipartite Graphs

1
Department of Mathematics, University of Hawaii at Manoa, Honolulu, HI 96822, USA
2
Smith College, Northampton, MA 01063, USA
3
Department of Mathematics and Statistics, University of Victoria, Victoria, BC V8W 2Y2, Canada
*
Author to whom correspondence should be addressed.
Algorithms 2018, 11(4), 40; https://doi.org/10.3390/a11040040
Submission received: 12 February 2018 / Revised: 23 March 2018 / Accepted: 24 March 2018 / Published: 29 March 2018
(This article belongs to the Special Issue Reconfiguration Problems)

Abstract

:
A k-colouring of a graph G with colours 1 , 2 , , k is canonical with respect to an ordering π = v 1 , v 2 , , v n of the vertices of G if adjacent vertices are assigned different colours and, for 1 c k , whenever colour c is assigned to a vertex v i , each colour less than c has been assigned to a vertex that precedes v i in π . The canonical k-colouring graph of G with respect to π is the graph Can k π ( G ) with vertex set equal to the set of canonical k-colourings of G with respect to π , with two of these being adjacent if and only if they differ in the colour assigned to exactly one vertex. Connectivity and Hamiltonicity of canonical colouring graphs of bipartite and complete multipartite graphs is studied. It is shown that for complete multipartite graphs, and bipartite graphs there exists a vertex ordering π such that Can k π ( G ) is connected for large enough values of k. It is proved that a canonical colouring graph of a complete multipartite graph usually does not have a Hamilton cycle, and that there exists a vertex ordering π such that Can k π ( K m , n ) has a Hamilton path for all k 3 . The paper concludes with a detailed consideration of Can k π ( K 2 , 2 , , 2 ) . For each k χ and all vertex orderings π , it is proved that Can k π ( K 2 , 2 , , 2 ) is either disconnected or isomorphic to a particular tree.

1. Introduction

One definition of a k-colouring of a graph G is as a function f : V ( G ) { 1 , 2 , , k } such that f ( x ) f ( y ) whenever x y E ( G ) . Under this definition, k-colourings f 1 and f 2 are different whenever there exists a vertex x such that f 1 ( x ) f 2 ( x ) . Each k-colouring f is equivalent to a k-tuple ( f 1 ( 1 ) , f 1 ( 2 ) , , f 1 ( k ) ) in which the set of non-empty components is a partition of V ( G ) into independent sets.
A k-colouring f : V ( G ) { 1 , 2 , , k } is canonical with respect to an ordering π = v 1 , v 2 , , v n of the vertices of G if, whenever f ( v i ) = c , every colour less than c has been assigned to some vertex that precedes v i in π . Thus v 1 is necessarily assigned colour 1, and colour 3 can only be assigned to some vertex after colour 2 has been assigned to a vertex that appears earlier in the sequence π . Note that canonical colourings may be very different than the colourings arising from applying the usual greedy colouring algorithm to G using the vertex ordering π .
Define an equivalence relation ∼ on the set of k-colourings of G by f 1 f 2 if and only if f 1 and f 2 determine the same partition of V ( G ) into independent sets. The set of canonical k-colourings of G with respect to π is then the set of representatives of the equivalence classes of ∼ that are lexicographically least with respect to π . Thus, canonical k-colourings exist for every k χ ( G ) and every proper colouring is equivalent to a canonical colouring.
For an ordering π of the vertices of a graph G, the canonical k-colouring graph of G, denoted Can k π ( G ) , has vertex set equal to the set of canonical k-colourings of G with respect to π , with two of these being adjacent when they differ in the colour assigned to exactly one vertex. While every ordering gives a set of representatives of the possible k-colourings, different orderings can lead to different canonical k-colourings graphs. Examples of the canonical 3-colouring graph of the path on 4 vertices are given in Figure 1 for three different orderings of the vertices of the path. When a canonical colour graph is connected, any given canonical k-colouring can be reconfigured into any other via a sequence of recolourings which each change the colour of exactly one vertex. When it is Hamiltonian, there is a cyclic list that contains all of the k-colourings of G and consecutive elements of the list differ in the colour of exactly one vertex, that is, there is a cyclic Gray code of the k-colourings of G.
This paper is organized as follows. Relevant definitions and background information are reviewed in Section 2. A generalization of a lemma of [1] concerning vertex orderings such that Can k π ( G ) is disconnected for all k χ ( G ) is proved. Connectivity and Hamiltonicity of canonical colouring graphs of unions and joins of graphs are considered in Section 3. The main focus is on the situation where one of the graphs involved is a complete graph or a complement of a complete graph. For n 1 and any vertex ordering π , canonical k-colourings of K ¯ n correspond exactly to partitions of { 1 , 2 , , n } with at most k cells. Our results give a Gray code listing of these partitions similar to that of Kaye [2]. Since the complete multipartite graph K n 1 , n 2 , , n r is the join of K ¯ n 1 , K ¯ n 2 , , K ¯ n r , our results show that there are vertex orderings π for which Can k π ( K n 1 , n 2 , , n r ) is connected whenever k r . In Section 4, we first show that there exists a vertex ordering π such that the canonical k-colouring graph of a bipartite graph is connected whenever k 1 + | V | / 2 , and then give an example showing that this bound is the best possible. We then prove a negative result which implies that complete multipartite graphs with at least two nontrivial parts can not have Hamiltonian canonical colouring graphs, and there cannot be a Hamilton path if there are at least three parts of size that have at least two. This leaves open the possibility that canonical colouring graphs of complete bipartite graphs may have a Hamilton path. We show that there exists an ordering π such that Can k π ( K m , n ) has a Hamilton path for all k 3 . In the final section of the paper, we study the canonical k-colouring graph of the complete multipartite graph in which each part has exactly two vertices. We show that, for any vertex ordering π and any integer k at least as large as the number of parts, the canonical k-colouring graph is either disconnected, or isomorphic to a particular tree.
Throughout the paper, proofs of existence results are constructive and lead to algorithms which generate the desired sequences.

2. Background, and a Preliminary Result

For basic definitions in graph theory, we refer to the text of Bondy and Murty [3].
Before briefly surveying some previous research on colour graphs we recall the definition of col ( G ) , the colouring number of G. Let π = x 1 , x 2 , , x n be an ordering of the vertices of G. Let H i be the subgraph of G induced by { x 1 , x 2 , , x i } , for i = 1 , 2 , , n . Define D π = max 1 i n d H i ( x i ) . Then col ( G ) = min π D π + 1 . Equivalently, col ( G ) = 1 + max δ ( H ) , where the maximum is taken over all subgraphs of G. The quantity col ( G ) is an upper bound on the number of colours needed if the greedy colouring algorithm is applied to G and vertices are coloured in the order π . Hence χ ( G ) col ( G ) Δ ( G ) + 1 .
For k 1 , let F k ( G ) be the set of k-colourings of a graph G. The k-colouring graph of G, denoted C k ( G ) , has vertex set F k ( G ) , with two k-colourings being adjacent if and only if they differ in the colour of exactly one vertex. For example, the 3-colouring graph of a path on four vertices is given in Figure 2. This is an example of a reconfiguration graph in which vertices represent feasible solutions to a problem and there is an edge between two solutions if one can be transformed to the other by some allowable reconfiguration rule. There is a vast literature on the complexity of reconfiguration problems, for example see [4,5]. The graph C k ( G ) is the most studied of the various colour graphs (that is, among the different allowable sets of colourings, and different reconfiguration rules). Connectivity of C k ( G ) arises in random sampling of k-colourings, and approximating the number of k-colourings, for example see [6,7,8]. Dyer, Flaxman, Frieze and Vigoda proved that there is a least integer c 0 col ( G ) + 1 such that k-colouring graph of G is connected for all k c 0 [6] (also see [9]). It is NP-complete to decide if the 3-colouring graph of a bipartite graph is connected [10], but polynomial-time to decide if two 3-colourings of a bipartite graph belong to the same component of C 3 ( G ) [11]. Hamiltonicity of the k-colouring graph was first considered in [12], wherein it was proved that there is always a least integer k 0 col ( G ) + 2 such that the k-colouring graph of the graph G is Hamiltonian for all k k 0 . The number k 0 is known for complete graphs, trees and cycles [12], 2-trees [13], complete bipartite graphs [14], and some complete multipartite graphs [15]. For other results on C k ( G ) , see [16], and for related results concerning the graph of L ( 2 , 1 ) -labellings (colourings with additional conditions), see [17].
The Bell k-colouring graph of G, denoted B k ( G ) , has as vertices the partitions of V ( G ) into at most k independent sets, with two of these being adjacent when there is a vertex x such that these partitions are equal when restricted to G x . The Bell 3 colouring graph of the path on four vertices is given in Figure 3. Bell k-colouring graphs are staudied in [18], as is the Stirling ℓ-colouring graph of G, the subgraph of B | V | ( G ) induced by the partitions with exactly cells. It is proved that B | V | ( G ) is Hamiltonian for every graph G except K n and K n e , and the quantity | V | is the best possible. It is also proved that the Bell k-colouring graph of a tree with at least four vertices is Hamiltonian for all k 3 , and the Stirling -colouring graph of a tree on at least n 1 vertices is Hamiltonian for all 4 .
The graph Can k π ( G ) is a spanning subgraph of B k ( G ) ; the restriction to canonical colourings eliminates some edges of B k ( G ) . Thus results asserting connectivity or Hamiltonicity of Can k π ( G ) imply connectivity or Hamiltonicity of B k ( G ) , respectively. Since at most n colours can be assigned to the vertices of an n-vertex graph G, it follows that B k ( G ) = B n ( G ) and Can k π ( G ) = Can n π ( G ) for all k n .
Canonical k-colouring graphs were first considered in [1]. For every tree T there exists an ordering π of the vertices such that the canonical k-colouring graph of T with respect to π is Hamiltonian for all k 3 . The canonical 3-colouring graph of the cycle C n is disconnected for all vertex orderings π , while for each k 4 there exists an ordering π for which Can k π ( C n ) is connected. It is an open problem to find general conditions on k and π such that Can k π ( G ) is connected. Most results are negative assertions about certain vertex orders π . In [1] it was proved that if G is connected, but not complete then there is always a vertex ordering π such that Can k π ( G ) is disconnected for all k χ ( G ) + 1 . In particular, the graph Can k π ( G ) is disconnected whenever the first three vertices u , v , w of the vertex ordering π are such that u v E but u w , v w E . Our first proposition generalizes that statement.
Proposition 1.
Let π = v 1 , v 2 , , v n be a vertex ordering of G. If there exists i 3 such that v i is adjacent to each of v 1 , v 2 , , v i 1 , and the subgraph of G induced by { v 1 , v 2 , , v i } is not complete, then Can k π ( G ) is disconnected for all k χ ( G ) + 1 .
Proof. 
Let H i be the subgraph of G induced by { v 1 , v 2 , , v i } . Since H i is not complete, χ ( H i ) < i .
Let c 1 be a canonical χ ( G ) -colouring of G with respect to π . Then c 1 ( v i ) = 1 + max { c 1 ( v 1 ) , c 1 ( v 2 ) , , c 1 ( v i 1 }. Furthermore, if c 2 is an adjacent colouring in Can k π ( G ) then it differs on only one vertex. The colour of v i cannot change (because we are only considering canonical colourings) so c 2 must differ on a vertex other than v i . It follows that the vertex v i is assigned the same colour in any canonical colouring that is joined to c 1 by a path.
Suppose first that c 1 assigns the same colour to two of v 1 , v 2 , , v i 1 , say c 1 ( v a ) = c 1 ( v b ) for some a , b < i . Then, there is a (non-canonical) χ ( G ) + 1 colouring of G in which v b is coloured with colour χ ( G ) + 1 , and all other vertices, v j for j < i are assigned the same colour as in c 1 . Let c 2 be the equivalent canonical colouring to this with respect to π (defines the same partition of V ( G ) ). Then c 2 ( v i ) = 1 + c 1 ( v i ) . Hence, there is no path in Can k π ( G ) joining c 1 and c 2 .
Now assume c 1 assigns distinct colours to each of v 1 , v 2 , , v i 1 . Since H i is not complete, it has a pair of non-adjacent vertices. There is a χ ( G ) + 1 colouring of G in which these two vertices are assigned the same colour, and all other vertices are assigned the same colour as in c 1 . Let c 3 be the canonical version of this colouring. Then c 3 ( v i ) = c 1 ( v i ) 1 . Hence, there is no path in Can k π ( G ) joining c 1 and c 3 .
In both cases, Can k π ( G ) is disconnected. This completes the proof. ☐

3. Unions and Joins

In this section we explore connectivity and Hamiltonian properties of graphs constructed by the operations of disjoint union and join. Our main focus is the situation where one of the graphs involved is complete, or has no edges.
Recall that the disjoint union of disjoint graphs G 1 and G 2 is the graph G 1 G 2 with vertex set V ( G 1 ) V ( G 2 ) and edge set E ( G 1 ) E ( G 2 ) . The join of disjoint graphs G 1 and G 2 is the graph G 1 G 2 with vertex set V ( G 1 ) V ( G 2 ) and edge set E ( G 1 ) E ( G 2 ) { x 1 x 2 : x 1 V ( G 1 ) and x 2 V ( G 2 ) } . We shall consider unions first, and joins second.
Observe that the canonical k-colouring graph of K ¯ n = K 1 K 1 K 1 is the graph of partitions of an n-set into at most k parts. Hence the number of vertices is the sum of Stirling numbers of the second kind, S ( n , 1 ) + S ( n , 2 ) + + S ( n , k ) . A Hamilton cycle in this graph corresponds to a cyclic Gray code for set partitions. Many different Gray codes, cyclic and otherwise, for set partitions are known to exist [19]; our method gives a different point of view and leads to a recursive algorithm similar to that of Kaye [2]. A related method that gives Hamilton paths rather than Hamilton cycles is given in Theorem 4.
Theorem 1.
Let π be a vertex ordering such that Can k π ( G ) is Hamiltonian. Then, for the vertex ordering π of G K 1 obtained by placing the vertex of K 1 at the end of π, the graph Can k π ( G K 1 ) is Hamiltonian.
Proof. 
Since Can k π ( G ) has at least three vertices, we have k 2 .
Suppose k = 2 . Then, G is bipartite and has at least three components. Let X 1 be the component of G containing the first vertex of π . Then Can k π ( G ) is isomorphic to the cube of dimension equal to the number of components of G X 1 , and Can k π ( G K 1 ) is isomorphic to the cube of one higher dimension. Since the t-cube is Hamiltonian for all t 2 , the statement follows.
Now suppose k 3 . If c is a canonical k-colouring of G K 1 with respect to π , then the restriction of c to G is a canonical k-colouring of G. We will say that the colouring c on G K 1 is an extension of the colouring on G. Furthermore, each canonical k-colouring of G has at least two extensions to a canonical k-colouring of G K 1 , and there are exactly two extensions if and only if G K ¯ n and only one colour is used on the vertices of G. Notice that the set of canonical k-colourings of G K 1 which agree on their restriction to V ( G ) induces a complete subgraph of Can k π ( G K 1 ) .
By hypothesis, Can k π ( G ) has a Hamilton cycle c 1 , c 2 , , c t , c 1 . Thus t 3 , and there exists i such that c i and c i + 1 both use at least two colours. Without loss of generality, i = t . Thus, the canonical k-colourings c t and c 1 each have at least three extensions to canonical k-colouring of G K 1 . For i = 1 , 2 , , t , let c i · denote the extension of c i to a canonical k-colouring of G K 1 in which the vertex of K 1 is assigned colour . Observe that c i · 1 and c i · 2 are adjacent to c i + 1 · 1 and c i + 1 · 2 , respectively, 1 i t 1 and c t · 1 , c t · 2 and c t · 3 are adjacent to c 1 · 1 , c 1 · 2 and c 1 · 3 , respectively.
A Hamilton cycle in Can k π ( G K 1 ) can be constructed as follows. The first vertex is c 1 · 1 . Then, for i = 2 , 3 , , t 1 , list all extensions of c i such that c i · 1 is first and c i · 2 is last if i is even, and c i · 2 is first and c i · 1 is last if i is odd. Observe that any pair of consecutive vertices in the list are adjacent. Let c t 1 · z be the last vertex listed according to this procedure. The Hamilton cycle is completed by listing c t · z , then all other extensions of c t in such a way that c t · 3 is listed last and, finally, c 1 · 3 and all extensions of c 1 in such a way that c 1 · 1 is listed last (recall that c 1 · 1 was the first vertex listed).
This completes the proof. ☐
Corollary 1.
Let π be a vertex ordering such that Can k π ( G ) is Hamiltonian. Then, for the vertex ordering π of G K ¯ n obtained by placing the vertices of K ¯ n at the end of π, the graph Can k π ( G K ¯ n ) is Hamiltonian.
The Gray code for set partitions implied by the following is similar to the one found by Kaye [2].
Corollary 2.
For all n 3 and k 2 , and any vertex ordering π, the graph Can k π ( K ¯ n ) is Hamiltonian.
We now turn our attention to connectivity of the canonical k-colouring graph of the disjoint union of graphs G 1 and G 2 . Since it is an open problem to determine general conditions under which the canonical k-colouring graph of a (connected) graph G is connected, in the results that follow we assume the canonical k-colouring graph of G 1 is connected and give conditions under which a canonical colouring graph of G 1 G 2 is connected, no matter how the vertices of G 2 are ordered following the vertex ordering of G 1 .
Theorem 2.
Let G 1 and G 2 be disjoint graphs such that χ ( G 1 ) 1 + col ( G 2 ) . Suppose there exists an integer k, and an ordering ϕ of the vertices of G 1 , such that Can k ϕ ( G 1 ) is connected. Then, for any ordering π of the vertices of G 1 G 2 obtained by putting an ordering of the vertices of G 2 after ϕ , the graph Can k π ( G 1 G 2 ) is connected.
Proof. 
Let c be some particular canonical colouring of G 1 G 2 with χ ( G 1 ) = χ ( G 1 G 2 ) colours such that colours 1 , 2 , , χ ( G 1 ) appear on the vertices of G 1 (as they must), and colours 1 , 2 , , χ ( G 2 ) appear on the vertices of G 2 . Let c 2 be the restriction of c to V ( G 2 ) .
We complete the proof by showing that any canonical k-colouring of G 1 G 2 can be transformed into c by a finite number of steps corresponding to edges in Can k π ( G 1 G 2 ) . Suppose a canonical k-colouring d of G 1 G 2 is given. Let M be the largest colour which d assigns to a vertex of G 1 . Let H 2 be the subgraph of G 2 induced by the set of vertices on which colours 1 , 2 , , M appear.
Since M χ ( G 1 ) 1 + col ( G 2 ) 1 + col ( H 2 ) , the (ordinary) M-colouring graph of H 2 is connected [6,9]. Hence there is a sequence of steps corresponding to edges in Can k π ( G 1 G 2 ) that transforms d to a canonical colouring d which agrees with c 2 on V ( H 2 ) . The following step can then be repeated until d is transformed into a canonical colouring that agrees with c 2 on V ( G 2 ) . If the current colouring does not agree with c 2 on V ( G 2 ) , then let x be the last vertex of G 2 which is not coloured c 2 ( x ) , and recolour x with c 2 ( x ) (Note that any the colour of any such x is greater than M). The resulting colouring is proper because of the recolouring of H 2 done earlier, and canonical by the maximality of the position of x.
Finally, since Can k ϕ ( G 1 ) is connected and χ ( G 1 ) χ ( G 2 ) , the subgraph of Can k π ( G 1 G 2 ) induced by the set of (canonical) colourings for which the restriction to V ( G 2 ) is c 2 is isomorphic to Can k ϕ ( G 1 ) , and is therefore connected. Hence there is a sequence of steps corresponding to edges in Can k π ( G 1 G 2 ) that transforms a canonical colouring which agrees with c 2 on V ( G 2 ) into c. This completes the proof. ☐
The hypothesis of the above theorem can be relaxed slightly to χ ( G 1 ) 1 + c 0 ( G 2 ) , where c 0 is the least integer such that k-colouring graph of G is connected for all k c 0 . By the result of [6], c 0 ( G 2 ) col ( G 2 ) .
Corollary 3.
Let k , n 1 and G be a graph with at least one edge. If there exists a vertex ordering π such that Can k π ( G ) is connected, then there exists an order π for which Can k π ( G K ¯ n ) is connected.
Proof. 
The colouring number of K 1 equals 1. Apply Theorem 2 inductively. ☐
We conclude this section by considering the join operation. Observe that in any colouring of G 1 G 2 , the set of colours that appear on the vertices of G 1 is disjoint from the set of colours that appear on the vertices of G 2 . With this observation, the proof of the first proposition below is straightforward, and hence is omitted.
Proposition 2.
Let π be a vertex ordering of the graph G. If π is the vertex ordering obtained by inserting the vertices of the K r at the beginning of π, then Can t π ( G ) Can t + r π ( G K r ) .
Corollary 4.
If Can t π ( G ) is connected (resp. has a Hamilton path, has a Hamilton cycle) then there exists an order π such that Can t + r π ( G K r ) is connected (resp. has a Hamilton path, has a Hamilton cycle).
In contrast, by Proposition 1, in almost any ordering π of the vertices that does not begin with all the vertices of K r the corresponding Can t + r π ( G K r ) will be disconnected.
Corollary 5.
Let T be a tree with at least three vertices, and k 4 . For any integer n > 1 , there exists a vertex ordering π such that Can k + n π ( T K n ) is Hamiltonian.
Proof. 
For any such k, there is a vertex ordering π such that Can k π ( T ) is Hamiltonian [1]. ☐
The next corollary implies, among other things, that the canonical c-colouring graph of a wheel on n spokes is connected for all c 4 .
Corollary 6.
Let k 4 , t 3 and n 1 . There exists a vertex ordering π such that Can k + n π ( C t K n ) is connected.
Proof. 
For any such k, there is a vertex ordering π such that Can k π ( C t ) is connected [1]. ☐
Proposition 3.
Let k , n 1 . Suppose there exists a vertex ordering π such that Can k π ( G ) is connected. Then there exists an order π for which Can k + i π ( G K ¯ n ) is connected for all i 1 .
Proof. 
Let π be the order obtained from π by inserting one vertex of K ¯ n at the beginning of the ordering and all the others at the end. Note that the subgraph of Can k + i π ( G K ¯ n ) induced by the set of canonical colourings in which every vertex of K ¯ n is coloured 1 is isomorphic to Can k π ( G ) . Since, for any canonical colouring c, there is a path in Can k + i π ( G K ¯ n ) to a canonical colouring in which every vertex of K ¯ n is coloured 1 and the colour of every vertex of G is the same as in c, the result follows. ☐
We note that connected cannot be replaced by Hamiltonian in the above proposition. It follows from Proposition 4 that, for example, there is no vertex ordering π such that Can k π ( K 2 , 2 ) has a Hamilton cycle for any k 3 , and no ordering π such that Can k π ( K 2 , 2 , 2 ) has a Hamilton path for any k 4 .
Corollary 7.
Let H be a complete multipartite graph with p parts. For any k p , there exists a vertex ordering π such that Can k π ( H ) is connected.
Proof. 
Suppose one of the maximal independents sets has size s. Take G = K ¯ s in Proposition 3, and apply the proposition inductively to construct H and π . ☐

4. Bipartite Graphs

We now show that, once k is sufficiently large, there is always a vertex ordering such that the canonical k-colouring graph of a bipartite graph is connected. We then show that the bound given is the best possible.
Theorem 3.
Let G be a bipartite graph on n vertices, then there exists an ordering π of the vertices such that Can t π ( G ) is connected for t n / 2 + 1 .
Proof. 
Suppose G has bipartition ( A , B ) , where | A | | B | . Choose a A , b B , such that a b E ( G ) . Define π to be a , b , B b , A a . That is vertex a is coloured first, b is coloured second, the rest of B are the third through ( | B | + 1 ) st vertices to be coloured, the rest of A are the ( | B | + 2 ) nd through nth vertices to receive colours. Label the vertices v 1 , v 2 , v n according to this order.
The standard two colouring s : V { 1 , 2 } is s ( v j ) = 1 if j = 1 or j | B | + 2 , and s ( v j ) = 2 otherwise. The method will be to show that any colouring c : V { 1 , 2 , , t } can be obtained from the standard 2-colouring s in a finite number of steps.
First, suppose colour 1 is only used on vertices of A. In this case the colouring c can be transformed into s as follows. Recolour (if necessary) each vertex of A to colour 1 by recolouring from vertex v n down to v | B | + 2 , and then recolour each vertex of B to colour 2 by recolouring from vertex v | B | + 2 down to v 2 . It is clear that at every stage there is a proper colouring.
If colour 1 is used on vertices in both parts then the number of colours used on B is at most | B | n / 2 . Suppose exactly r n / 2 < t colours (including colour 1) are used on vertices in B, and let x i be the number of the first vertex to receive colour i, i = 1 , r . That is c ( v x i ) = i and for all j < i , c ( v j ) < i . Clearly x 1 = 1 , x 2 = 2 , and since c is a canonical colouring x 1 < x 2 < x 3 < < x r . Set x r + 1 = | B | + 2 .
We will use the x i to define an intermediate colouring c by c ( v j ) = i if x i j < x i + 1 n , for j = 1 , 2 , , n . This is a proper colouring because no colour is used on vertices in both parts B and A. It uses r + 1 t colours in total. The colours are used in numerical order, so it is canonical.
The proof is completed by showing that the standard colouring s can be transformed to colouring c and colouring c can be transformed to colouring c. Since colouring c does not use any colour on both parts, the standard colouring s can be transformed to c by changing the colours on v 1 to v n in order, if needed. That is change the colour on vertex v m from s ( v m ) to the colour c ( v m ) for m = 1 , , n .
Next transform c to c. Do this by passing through the vertices from v 1 to v n r times, once for each of the r colours used in c. On the kth pass change vertices to colour k if they are colour k in c. That is, in pass k, step m we will change the colour of vertex v m , only if c ( v m ) = k . We need to show that this gives a proper canonical colouring at every step. Let s k m be the colouring obtained after the mth step in the kth pass. Then
s k m ( v j ) = c ( v j ) if c ( v j ) < k , or if c ( v j ) = k and j m , c ( v j ) otherwise .
To see that each s k m is proper, we must show that, { v j | s k m ( v j ) = i } , the set of vertices coloured i, is independent for all colours i = 1 , 2 , , r + 1 and all s k m . For i < k , the set of vertices coloured i in s k m equals the set of vertices coloured i in c. Thus { v j | s k m ( v j ) = i } is an independent set for i k 1 . For i > k , the set of vertices coloured i in s k m is a subset of the set of vertices coloured i in c thus { v j | s k m ( v j ) = i } is an independent set for i k + 1 . It remains to consider { v j | s k m ( v j ) = k } . The vertices coloured k under s k m are { v j | s k m ( v j ) = k } = { v j | j m , c ( v j ) = k } { v j | j > m , c ( v j ) = k } .
When k = 1 then since x 1 = 1 and x 2 = 2 , we get { v j | s k m ( v j ) = 1 } { v j | c ( v j ) = 1 } , for all m so this is an independent set. At the other end, when x k | B | + 2 all vertices coloured k by either colouring c or c will be in part A. So { v j | s k m ( v j ) = k } is independent for all m.
If 2 x k | B | + 1 then c only assigns colour k to vertices in part B. No vertex in part A is coloured k until the only vertices coloured k on part B are those coloured k under c. There are two cases.
  • If m | B | + 1 then all vertices coloured k in s k m are in B so the set is independent.
  • If m > | B | + 1 , this means that the only vertices in B that are still coloured k are coloured k under c, that is: | B | { v j | s k m ( v j ) = k } = | B | { v j | c ( v j ) = k } . No vertices in A are coloured k under c so if v j A and s k m ( v j ) = k , then m > j and s k m ( v j ) = c ( v j ) = k . Thus { v j | s k m ( v j ) = k } { v j | c ( v j ) = k } which is independent.
Finally we show the colourings are canonical. By construction, for all colours, i, c ( v x i ) = c ( v x i ) = s k m ( v x i ) = i , and no vertex before v x i is coloured i + 1 or higher in any of the colourings. Thus each of s k m is a canonical proper colouring. ☐
Consider the graph L n = K n , n F , where F is a perfect matching. In the n-colouring of L n where the opposite ends of edges in F are assigned the same colour, every vertex has a neighbour of any different colour. Thus, if c is the canonical version of this colouring with respect to a vertex ordering π , then c is an isolated vertex in Can n π ( L n ) . Since L n has 2 n vertices, it follows that the lower bound in the above theorem is the best possible.
By Corollary 7, there is always a vertex ordering π such that Can k π ( K n 1 , n 2 , , n r ) is connected. We now show that there is no Hamilton cycle, and frequently no Hamilton path, in the canonical k-colouring graph of a complete multipartite graph. By Corollary 4 it suffices to consider the case where n i 2 for all i. The specific example of Can k π ( K 2 , 2 , , 2 ) will be considered in detail in Section 5.
Proposition 4.
Let G = K n 1 , n 2 , , n r , where n i 2 , for all i. Then, for all vertex orderings π and k r + 1 ,
1.
Can k π ( G ) has a cut vertex and hence has no Hamilton cycle;
2.
if r 3 then Can k π ( G ) has no Hamilton path.
Proof. 
We first prove statement 1. The colouring c where every vertex in the ith part gets colour i is a cut vertex. Note that no colour can be used on vertices in more than one part. Any colouring c i where a vertex v i in part i gets colour r + 1 cannot change to a colouring c j where a vertex v j in part j gets coloured r + 1 without first changing the colour of v i . If the colour r + 1 is removed from part i then no higher colour can be used without violating canonicity. So if there is a path from c i to c j , it must pass through c.
We now prove statement 2. If π does not start with a maximum clique, then Can k π ( G ) is disconnected by Proposition 1. Hence assume the first r vertices of π induce a maximum clique. The argument above shows that the cut vertex c actually partitions the colourings into r cells, corresponding to using the r + 1 colour in each of the r independent sets. Thus there can be no Hamilton path if there are at least three independent sets with at least two vertices each. ☐
By Proposition 4, for m , n 2 and k 3 , the graph Can k π ( K m , n ) has a cut vertex, and hence no Hamilton cycle. On the other hand, for n 2 , the graph Can k π ( K 1 , n ) has a Hamilton cycle for all k 3 [1]. The possibility remains that the canonical k-colouring graphs of complete bipartite graphs which are not stars have a Hamilton path. We show next that Can k π ( K n , m ) in fact has a Hamilton path for all admissible values of m , n , k . To do so, we first give a Gray code (not cyclic) for Can k π ( K ¯ n ) which has certain properties. The proof is recursive and similar to, but more elaborate than, that of Theorem 1.
Theorem 4.
For all n 2 and k 2 , and any vertex ordering π, the graph Can k π ( K ¯ n ) has a Hamilton path x 1 , x 2 , , x t such that:
(i) 
the colouring x 1 = 11 1 , and the colouring x t uses all k colours.
(ii) 
For each 1 < i < t , the set of colours used by x i is identical to the set used by either x i 1 , x i + 1 .
Proof. 
The sequences 11 and 11 , 12 clearly work for Can 1 π ( K ¯ 2 ) and Can 2 π ( K ¯ 2 ) respectively. We induct first on n and then on k. Note that because colourings are canonical we only consider n k .
Let c 1 , c 2 , , c t be a Hamilton path in Can k π ( K ¯ n ) with properties (i) and (ii). For i = 1 , 2 , , t , let c i · denote the extension of c i to a canonical k-colouring of K ¯ n + 1 in which the last vertex is assigned colour . Observe that c i · is adjacent to c i + 1 · whenever both of these are canonical colourings.
First the special case k = 2 . For n k = 2 a Hamilton path in Can k π ( K ¯ n + 1 ) is constructed from the one for Can k π ( K ¯ n ) as follows: c 1 · 1 , c 1 · 2 , c 2 · 2 , c 2 · 1 , c 3 · 1 , c 3 · 2 , c 2 i · 2 , c 2 i · 1 , c 2 i + 1 · 1 , c 2 i + 1 · 2 .
For n k 3 , a Hamilton path in Can k π ( K ¯ n + 1 ) can be constructed from the one for Can k π ( K ¯ n ) as follows. The first vertices are c 1 · 1 , c 1 · 2 , c 2 · 2 , c 2 · 1 , c 2 · 3 , c 3 · 3 , c 3 · 2 , c 3 · 1 . Starting with i = 4 , and then repeating for the next unused prefix c i , suppose c i , c i + 1 , , c i + j is a maximal sequence such that each c i + m uses exactly the same set of colours, and suppose the maximum allowable colour that can be added to each of them is i . We construct a Hamilton path on the subgraph induced by { c i + m · | m = 0 , 1 , , j ; 1 i } . These will be pieced together to get the Hamilton path for Can k π ( K ¯ n + 1 ) . This path must start with c i · 1 and end with c i + j · 1 .
Suppose j is odd. Take everything from each prefix c i + m before proceeding to the next prefix. In particular take the Hamilton path starting at c i + 2 p · 1 and ending with c i + 2 p · i for p = 0 , 1 , , j / 2 and in the reverse order c i + 2 p + 1 · i and ending with c i + 2 p + 1 · 1 for p = 0 , 1 , , j / 2 .
Suppose j is even. Recall that for 1 m j , the subgraph induced by { c i + m · : 1 i } is complete, and by assumption i 3 . First use any Hamilton path through the subgraph induced by { c i · | 1 i } { c i + 1 · | 1 i } which starts at c i · 1 , and ends at c i + 1 · i and satisfies property (ii). Next, proceed as in the odd case alternating the direction of the Hamilton path, so that again the path through { c i + m · | m = 0 , 1 , , j } ends at c i + j · 1 .
In either case, the set of colours used on c i + m · is identical for all m , except possibly when = i , and the set of colours used on c i + 2 p · i is identical to the set of colours used on c i + 2 p + 1 · i and these colourings are adjacent in the path. That the last colouring in the path uses all k colours follows from the induction hypothesis.
The Hamilton path for Can n + 1 π ( K ¯ n + 1 ) is obtained from the one of Can n π ( K ¯ n + 1 ) by appending c t · ( n + 1 ) to the last vertex in Can n π ( K ¯ n + 1 ) , which will be of the form c t · . ☐
The properties for the Hamilton paths required in the above proof are similar to those studied by various authors in the context of Gray codes for set partitions. In [19] the authors give Gray codes for the set of restricted growth functions, which is the set of non-negative integer sequences a 1 a 2 a n : a i + 1 max { a 1 , a 2 , , a i } + 1 . While these Gray codes start with 11 1 and end with 123 n , they do not have the property that at least two sequences in a row use the same set of integers (see for example Figure 5 in [19]). The set of bounded restricted growth functions is R b ( n ) = a 1 a 2 a n : a i + 1 max { a 1 , a 2 , , a i } + 1 and a i b . Ruskey and Savage also considered Gray codes on R b ( n ) , but restrict their attention to strict and weak Gray codes which have the further property that successive elements can differ by only 1 (if strict) or 2 (weak) in the one position in which they differ. They show that such codes cannot exist. In the Gray codes considered here, successive sequences can differ in only one position, but the elements can differ by any amount. In other words, Theorem 4 says there is a (non strict, non weak) Gray Code for the set of bounded restricted growth functions, R b ( n ) , that satisfies properties (i) and (ii).
Theorem 5.
There exists a vertex ordering π such that Can k π ( K n , m ) has a Hamilton path for n , m 2 , k 3 .
Proof. 
Let K n , m have bipartition ( A , B ) , where A = { a 1 , a n } , B = { b 1 , b m } . Let the vertex ordering π = a 1 b 1 a 2 a 3 a n b 2 b 3 b m .
By Theorem 4 there is a Hamilton path, x 1 , x 2 , x t , with properties (i) and (ii), in the canonical k-colouring graph of the subgraph induced by the restriction of π to its first n + 1 vertices, a 1 b 1 a 2 a 3 a n (since { a 1 , a 2 , , a n } is an independent set, and b 1 will always be assigned the same colour in any canonical colouring). For each such colouring x i , let G ( x i ) be the subgraph of Can k π ( K n , m ) consisting of the canonical colourings which are extensions of x i . Note that each subgraph G ( x i ) is isomorphic to a graph Can k r π ( K ¯ m ) , corresponding to the colourings of the vertices b 1 b 2 b 3 b m in the k r colours not used on a 1 , a 2 , a 3 a n (starting with 2 which was the colour used on b 1 ), and also that V ( Can k π ( K n , m ) ) = i i t V ( G ( x i ) ) .
The Hamilton path in Can k π ( K n , m ) will be constructed by piecing together Hamilton paths from the G ( x i ) in the order i = 1 , 2 , , t . In order to be able to piece these paths together, the first colouring in the Hamilton path of G ( x i + 1 ) must be identical to the last colouring in the Hamilton path of G ( x i ) . Note that if x i and x i + 1 use different colours then the only colouring that G ( x i ) and G ( x i + 1 ) will have in common is 22 2 . For each G ( x i ) there is a Hamilton path that satisfies the conditions of Theorem 4, in this case one end is 22 2 and the other uses all the colours of x i .
Suppose that x i , x i + 1 , x i + j is a maximal sequence which use the same set of colours, and further that neither i 1 nor i + j t . The Hamilton path from G ( x i ) that is used must start with 22 2 and the one from G ( x i + j ) must end with 22 2 . If j is odd, this is accomplished by taking the Hamilton path starting at 22 2 for G ( x i + 2 p ) , for p = 0 , 1 , , j / 2 , and ending with 22 2 for G ( x i + 2 p + 1 ) for p = 0 , 1 , , j / 2 . If j is even, then first use a Hamilton path through the subgraph induced by V ( G ( x i ) ) V ( G ( x i + 1 ) ) which starts with 22 2 and ends in a colouring that uses all the colours. Then proceed as in the even case alternating the direction of the Hamilton path, so that the Hamilton path through G ( x i + j ) can end with 22 2 .
We finish the argument by reiterating the conditions that must hold for the construction to succeed. The Hamilton path x 1 , x 2 , , x t in the subgraph induced by the canonical k-colourings of the first n + 1 vertices of π needs the property that for each i 1 , the set of colours used for x i is identical to the set used on either x i 1 , or x i + 1 . In addition, for each x i , there should be a Hamilton path in G ( x i ) that starts with 22 2 . These are precisely the conditions guaranteed by our choice of the Hamilton path x 1 , x 2 , , x t . ☐

5. Can k π ( T 2 n , n )

For n 1 , let T 2 n , n be the complete n-partite graph on 2 n vertices in which each independent set is size two. Then T 2 , 1 K ¯ 2 , T 4 , 2 K 2 , 2 C 4 , T 6 , 3 K 2 , 2 , 2 , and so on.
The purpose of this section is to study the canonical k-colouring graphs of T 2 n , n . The results proved in this section are summarized in Theorem 6 below. In the cases where the canonical colour graph is connected, we describe it completely.
Theorem 6.
Let n 1 . Then
1.
Can n π ( T 2 n , n ) K 1 for any vertex ordering π.
2.
If k 2 n , then Can k π ( T 2 n , n ) Can 2 n π ( T 2 n , n ) for any vertex ordering π.
3.
If n < k and the subgraph of T 2 n , n induced by the first n vertices in the vertex ordering π is not complete, then Can k π ( T 2 n , n ) is disconnected.
4.
If n < k and the subgraph of T 2 n , n induced by the first n vertices in the vertex ordering π is complete, then Can k π ( T 2 n , n ) is a tree. Further, if Can k π ( T 2 n , n ) and Can k ϕ ( T 2 n , n ) are both trees, then Can k π ( T 2 n , n ) Can k ϕ ( T 2 n , n ) .
5.
Can 2 n π ( T 2 n , n ) never has a Hamilton cycle and has a Hamilton path only when n = 2 , k = 2 .
Statements 1 and 2 are clear. Statement 3 is immediate by Proposition 1. The proof of statement 4 is partitioned into a sequence of propositions. First, we consider the graphs Can 2 n π ( T 2 n , n ) , for vertex orderings π that start with a maximal clique. The graphs Can k π ( T 2 n , n ) , with n < k < 2 n , will be considered later. According to statement 2 we need not consider the situations in which k > 2 n .
Proposition 5.
Let n 1 . If the subgraph of T 2 n , n induced by the first n vertices in the sequence π is complete, then Can 2 n π ( T 2 n , n ) is a tree on 2 n vertices. Further, if the subgraph of T 2 n , n induced by the first n vertices in the sequence ϕ is complete, then Can 2 n π ( T 2 n , n ) Can 2 n ϕ ( T 2 n , n ) .
Proof. 
In any colouring of T 2 n , n , a pair of independent vertices either has the same colour, or different colours. In the latter case, each vertex in the pair is the only vertex to be assigned that colour. Suppose that the last n vertices of π are x 1 , x 2 , , x n . A canonical 2 n -colouring with respect to π can be encoded as a binary sequence b 1 b 2 b n of length n in which the i-th element is 0 if vertex x i is assigned the same colour as its unique non-neighbour (which is one of the first n vertices of π ), and 1 if it is assigned the first colour not used on a vertex earlier in the sequence. Thus, Can 2 n π ( T 2 n , n ) has precisely 2 n vertices.
We claim that an element b i of the binary sequence can change (from 0 to 1, or 1 to 0) if and only if b j = 0 for all j > i . Suppose that x i is the only vertex of its colour, that is, it has a different colour than its unique non-neighbour, w, and b i = 1 . If there exists j > i such that x j also has a different colour than its unique non-neighbour, then the colouring arising from assigning the colour of w to x i is not canonical (because the colour of x i , which is smaller than the colour of x j , would not be used on any vertex). Similarly, if x i has the same colour as its unique non-neighbour, then it can only be assigned a different colour if there is no j > i such that x j has a different colour than its unique non-neighbour. This proves the claim.
We now show that, for any such sequence π , the graph Can 2 n π ( T 2 n , n ) is a tree. According to the discussion above, the vertices of Can 2 n π ( T 2 n , n ) can be taken to be the binary sequences of length n, with two sequences being adjacent if and only if they differ in exactly one position, and all entries to the right of that position are zero. Since any binary sequence can be reached from 00 0 by introducing 1s from left to right, the graph Can 2 n π ( T 2 n , n ) is connected. The proof is complete once we show that the sum of the vertex degrees equals 2 ( 2 n 1 ) . The degree of 00 0 is n. Any other binary sequence contains at least one 1. If the rightmost 1 is in position i then the degree of b 1 b 2 b n is n i + 1 and the number of such sequences is 2 i 1 . Hence, the sum of the vertex degrees is
n + i = 1 n 2 i 1 ( n i + 1 ) = n + ( n + 1 ) i = 1 n 2 i 1 i = 1 n 2 i 1 i = n + ( n + 1 ) ( 2 n 1 ) ( ( n + 1 ) 2 n ( 2 n + 1 1 ) ) = 2 · 2 n 2 .
Since the description of Can 2 n π ( T 2 n , n ) uses no properties of π other than that the subgraph of T 2 n , n induced by the first n vertices of π is complete, it is clear that any two trees arising from such sequences are isomorphic. This can also be proved by induction on n by using the observation that the subtree induced by the set of sequences in which the first entry is 0 is isomorphic to Can 2 ( n 1 ) π ( T 2 ( n 1 ) , n 1 ) , as is the subtree induced by the set of sequences in which the first entry is 1. ☐
The argument above shows that, for n > 1 , the leaves of Can 2 n π ( T 2 n , n ) correspond to precisely the binary sequences in which b n = 1 . Thus, Can 2 n π ( T 2 n , n ) has exactly 2 n 1 2 leaves, and hence never has a Hamilton cycle. There is a Hamilton path only when n 2 (recall that T 2 , 1 K ¯ 2 , and T 4 , 2 K 2 , 2 C 4 ).
For an ordering π such that the subgraph induced by the first n vertices is complete, the tree Can 6 π ( T 6 , 3 ) is shown in Figure 4. For any such ordering, the tree Can 8 π ( T 8 , 4 ) is constructed from two copies of this tree, one arising from concatenating a 1 on the left of each sequence and the other arising from concatenating a 0 on the left of each sequence, and then joining the vertices 0000 and 1000.
It remains to consider the graphs Can k π ( T 2 n , n ) for n < k < 2 n and sequences π for which the first n vertices is complete.
Proposition 6.
Let n 1 and n < k < 2 n . If the subgraph of T 2 n , n induced by the first n vertices in the sequence π is complete, then Can k π ( T 2 n , n ) is a tree on n 1 t + n 1 t 1 + + n 1 0 vertices. Further, if the subgraph of T 2 n , n induced by the first n vertices in the sequence ϕ is complete, then Can k π ( T 2 n , n ) Can 2 n ϕ ( T 2 n , n ) .
Proof. 
Observe that Can k π ( T 2 n , n ) is the subgraph of Can 2 n π ( T 2 n , n ) induced by the sequences with at most t = k n ones. There are ν = n 1 k + n 1 k 1 + + n 1 0 such sequences. Hence Can k π ( T 2 n , n ) has exactly ν vertices.
As before, since any binary sequence with at most t ones can be reached from 00 0 by introducing ones from left to right, the graph Can k π ( T 2 n , n ) is connected, and therefore is a tree. In addition, as before, the description of Can k π ( T 2 n , n ) uses no properties of π other than that of the subgraph of T 2 n , n induced by the first n vertices of π is complete. Thus, once again it is clear that any two trees arising from such sequences are isomorphic. ☐
For n > 1 and n < k 2 n , the leaves of the tree Can k π ( T 2 n , n ) are the binary sequences with exactly k ones and a zero in the last position, or with at most k ones and a one in the last position. Hence there cannot be a Hamilton cycle, and there is a Hamilton path only when n = 2 and k = 2 .
The proof of Theorem 6 is now complete.

6. Conclusions

In this paper we have continued the study of reconfiguration of canonical colourings. Our main results are that for all bipartite graphs and complete multipartite graphs there exists a vertex ordering π such that Can k π ( G ) is connected for large enough values of k. In addition, we have shown that a canonical colouring graph of a complete multipartite graph usually does not have a Hamilton cycle, but that there exists a vertex ordering π such that Can k π ( K m , n ) has a Hamilton path for all k 3 . The paper also gave a detailed consideration of Can k π ( K 2 , 2 , , 2 ) . For each k χ and all vertex orderings π , Can k π ( K 2 , 2 , , 2 ) is either disconnected or isomorphic to a particular tree.
Furthermore, the technical nature of these results leads us to believe that additional results about reconfiguration of canonical colourings will require significant effort. In addition, we posit that unlike for the k-colouring graph or the Bell k-colouring graph, there will be no criteria that ensure connectivity for all base graphs.

Acknowledgments

Research of the first author supported by Simons Foundation Award #281291. Research of the second author is supported by NSERC.

Author Contributions

The authors contributed equally to this work.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Haas, R. The canonical colouring graph of trees and cycles. Ars Math. Contemp. 2012, 5, 149–157. [Google Scholar]
  2. Kaye, R. A Gray code for set partitions. Inf. Process. Lett. 1976, 5, 171–173. [Google Scholar] [CrossRef]
  3. Bondy, J.A.; Murty, U.S.R. Graph Theory; GTM 224; Springer: Berlin, Germany, 2008. [Google Scholar]
  4. Van den Heuvel, J. The complexity of change, Surveys in Combinatorics 2013. In London Mathematical Society Lecture Notes Series 409; Blackburn, S.R., Gerke, S., Wildon, M., Eds.; Cambridge University Press: Cambridge, UK, 2013; pp. 127–160. [Google Scholar]
  5. Ito, T.; Demaine, E.D.; Harvey, N.J.A.; Papadimitriou, C.H.; Sideri, M.; Uehara, R.; Uno, Y. On the Complexity of Reconfiguration Problems. Theor. Comput. Sci. 2011, 412, 1054–1065. [Google Scholar] [CrossRef]
  6. Dyer, M.; Flaxman, A.; Frieze, A.; Vigoda, E. Randomly colouring sparse random graphs with fewer colours than the maximum degree. Random Struct. Algorithms 2006, 29, 450–465. [Google Scholar] [CrossRef]
  7. Jerrum, M. A very simple algorithm for estimating the number of k-colourings of a low-degree graph. Random Struct. Algorithms 1995, 7, 157–165. [Google Scholar] [CrossRef]
  8. Lucier, B.; Molloy, M. The Glauber dynamics for colourings of bounded degree trees. SIAM J. Discret. Math. 2011, 25, 827–853. [Google Scholar] [CrossRef]
  9. Cereceda, L.; van den Heuvel, J.; Johnson, M. Connectedness of the graph of vertex colourings. Discret. Math. 2008, 308, 913–919. [Google Scholar] [CrossRef] [Green Version]
  10. Bonsma, P.; Cereceda, L. Finding paths between graph colourings: PSPACE-completeness and superpolynomial distances. Theor. Comput. Sci. 2009, 410, 5215–5226. [Google Scholar] [CrossRef]
  11. Cereceda, L.; van den Heuvel, J.; Johnson, M. Finding Paths Between 3-colourings. J. Graph Theory 2011, 67, 69–82. [Google Scholar] [CrossRef]
  12. Choo, K.; MacGillivray, G. Gray code numbers for graphs. Ars Math. Contemp. 2011, 4, 125–139. [Google Scholar]
  13. Cavers, M.; (University of Calgary, Calgary, AB, Canada); Seyffarth, K.; (University of Calgary, Calgary, AB, Canada). Gray code numbers of 2-trees. Unpublished work. 2015. [Google Scholar]
  14. Celaya, M.; Choo, K.; MacGillivray, G.; Seyffarth, K. Reconfiguring k-colorings of complete bipartite graphs. Kyungpook Math. J. 2016, 56, 647–655. [Google Scholar] [CrossRef]
  15. Bard, S. Colour Graphs of Complete Multipartite Graphs. Master’s Thesis, University of Victoria, Victoria, BC, Canada, 2014. Available online: https://dspace.library.uvic.ca:8443/handle/1828/5815 (accessed on 23 December 2014).
  16. Cereceda, L.; van den Heuvel, J.; Johnson, M. Mixing 3-colourings in bipartite graphs. Eur. J. Comb. 2009, 30, 1593–1606. [Google Scholar] [CrossRef] [Green Version]
  17. Ito, T.; Kawamura, K.; Ono, H.; Zhou, X. Reconfiguration of list L(2, 1)-labelings in a graph. Theor. Comput. Sci. 2014, 544, 84–97. [Google Scholar] [CrossRef]
  18. Finbow, S.; (Saint Francis Xavier University, Antigonish, NS, Canada); MacGillivray, G.; (University of Victoria, Victoria, BC, Canada). Hamiltonicity of Bell and Stirling Colour Graphs. Unpublished work. 2016. [Google Scholar]
  19. Ruskey, F.; Savage, C.D. Gray codes for set partitions and restricted growth tails. Australas. J. Comb. 1994, 10, 85–96. [Google Scholar]
Figure 1. Three different vertex orderings of P 4 with associated C a n 3 π ( P 4 ) . In each case the colourings are canonical with respect to the given vertex ordering from left to right.
Figure 1. Three different vertex orderings of P 4 with associated C a n 3 π ( P 4 ) . In each case the colourings are canonical with respect to the given vertex ordering from left to right.
Algorithms 11 00040 g001
Figure 2. C 3 ( P 4 ) , the 3-Colouring Graph of P 4 . The vertices are labeled by the colourings of the path.
Figure 2. C 3 ( P 4 ) , the 3-Colouring Graph of P 4 . The vertices are labeled by the colourings of the path.
Algorithms 11 00040 g002
Figure 3. B 3 ( P 4 ) , the 3-Bell colouring graph of P 4 . The vertices are labeled by the partition of the path a b c d .
Figure 3. B 3 ( P 4 ) , the 3-Bell colouring graph of P 4 . The vertices are labeled by the partition of the path a b c d .
Algorithms 11 00040 g003
Figure 4. The tree Can 6 π ( T 6 , 3 )
Figure 4. The tree Can 6 π ( T 6 , 3 )
Algorithms 11 00040 g004

Share and Cite

MDPI and ACS Style

Haas, R.; MacGillivray, G. Connectivity and Hamiltonicity of Canonical Colouring Graphs of Bipartite and Complete Multipartite Graphs. Algorithms 2018, 11, 40. https://doi.org/10.3390/a11040040

AMA Style

Haas R, MacGillivray G. Connectivity and Hamiltonicity of Canonical Colouring Graphs of Bipartite and Complete Multipartite Graphs. Algorithms. 2018; 11(4):40. https://doi.org/10.3390/a11040040

Chicago/Turabian Style

Haas, Ruth, and Gary MacGillivray. 2018. "Connectivity and Hamiltonicity of Canonical Colouring Graphs of Bipartite and Complete Multipartite Graphs" Algorithms 11, no. 4: 40. https://doi.org/10.3390/a11040040

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop