Next Article in Journal
A Survey of Convolutional Neural Networks on Edge with Reconfigurable Computing
Next Article in Special Issue
Equisum Partitions of Sets of Positive Integers
Previous Article in Journal
Bicriteria Vehicle Routing Problem with Preferences and Timing Constraints in Home Health Care Services
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

γ-Graphs of Trees

by
Stephen Finbow
1,* and
Christopher M. van Bommel
2
1
Department of Mathematics and Statistics, St. Francis Xavier University, Antigonish, NS B2G2W5, Canada
2
Department of Combinatorics and Optimization, University of Waterloo, Waterloo, ON N2L 3G1, Canada
*
Author to whom correspondence should be addressed.
Algorithms 2019, 12(8), 153; https://doi.org/10.3390/a12080153
Submission received: 30 June 2019 / Revised: 26 July 2019 / Accepted: 27 July 2019 / Published: 30 July 2019

Abstract

:
For a graph G = ( V , E ) , the γ -graph of G, denoted G ( γ ) = ( V ( γ ) , E ( γ ) ) , is the graph whose vertex set is the collection of minimum dominating sets, or γ -sets of G, and two γ -sets are adjacent in G ( γ ) if they differ by a single vertex and the two different vertices are adjacent in G. In this paper, we consider γ -graphs of trees. We develop an algorithm for determining the γ -graph of a tree, characterize which trees are γ -graphs of trees, and further comment on the structure of γ -graphs of trees and its connections with Cartesian product graphs, the set of graphs which can be obtained from the Cartesian product of graphs of order at least two.

1. Introduction

Let G be a graph and let v be a vertex of G. The open neighbourhood of a vertex v, denoted N ( v ) , is the set of vertices adjacent to v, and the closed neighbourhood of a vertex v, denoted N [ v ] , is N ( v ) { v } . For a subset of vertices S, we say N ( S ) = x S N ( x ) and N [ S ] = S N ( S ) . A subset of vertices D is a dominating set of G if N [ D ] = V ( G ) , that is, every vertex not in D is adjacent to a vertex in D. The domination number of a graph G, denoted γ ( G ) , is the minimum cardinality of a dominating set of G. A dominating set of minimum cardinality is said to be a γ-set.
For a dominating set D of G and a vertex x D , the set of D-private neighbours of x, denoted  p n ( x , D ) , is N [ x ] N [ D x ] , that is, the set of vertices in the closed neighbourhood of x and not in the closed neighbourhood of any other vertex in D. If x p n ( x , D ) , then x is a D-self private neighbour in D and if y x and y p n ( x , D ) , then y is an D-external private neighbour of x in D. If D is a γ -set, then every vertex in D has a private neighbour.
The γ-graph of a graph G, introduced by Fricke et al. [4], is a graph denoted G ( γ ) , has its vertex set as the γ -sets of G, and two γ -sets D 1 and D 2 are adjacent in G ( γ ) if there is a vertex u D 1 and a vertex v D 2 such that D 2 = ( D 1 { u } ) { v } and u v E ( G ) . Starting with D 1 , we think of making a swap, that is, changing vertex u for v, to form D 2 . For convenience throughout the paper, we equate each node in G ( γ ) with its corresponding γ -set of G. A slightly different model, in which u v need not be an edge in G, was introduced independently by Subramanian and Sridharan [8]; we do not consider this model here. Fricke et al. [4] studied properties of γ -graphs, and raised the following open questions:
  • Is Δ ( T ( γ ) ) = O ( n ) for every tree T of order n?
  • Is diam ( T ( γ ) ) = O ( n ) for every tree T of order n?
  • Is | V ( T ( γ ) ) | 2 γ ( T ) for every tree T?
  • Which graphs are γ -graphs of trees?
  • Which graphs are γ -graphs? Can you construct a graph H that is not a γ -graph of any graph G?
  • For which graphs G is G ( γ ) G ?
  • Under what conditions is G ( γ ) a disconnected graph?
The first three questions were solved by Edwards, MacGillivray, and Nasserasr [3] and the fifth question was answered by Connelly, Hutson, and Hedetneimi [2]; the other three questions remain open. The question of which graphs are γ -graphs of trees was restated in a recent survey by Mynhardt and Nasserasr [5] as a primary direction of study in this area.
Some γ -graphs of trees were determined by Fricke et al. [4], as well as a couple of general properties. A stepgrid S G ( k ) is the induced subgraph of the k × k grid graph P k P k defined as follows: S G ( k ) = ( V ( k ) , E ( k ) ) , where
V ( k ) = { ( i , j ) : 1 i , j k , i + j k + 2 } , E ( k ) = { ( ( i , j ) , ( i , j ) ) : i = i , j = j + 1 ; i = i + 1 , j = j } .
Proposition 1.
[4]
  • K 1 , n ( γ ) K 1 .
  • For k 3 , K 2 , n ( γ ) K 1 , 2 n .
  • P 3 k ( γ ) K 1 .
  • P 3 k + 2 ( γ ) P k + 2 .
  • P 3 k + 1 ( γ ) S G ( k + 1 ) .
Theorem 1.
[4] Let T be a tree, and let x V ( T ) be a vertex that does not appear in any γ-set of T. Let  T 1 , T 2 , , T k be the disjoint subtrees created by deleting x from T, and let x i T i be the vertex in subtree T i adjacent to the vertex x. Let D i be the set of minimum dominating sets of subtree T i and let T i x i ( γ ) be the γ-graph of subtree T i using only those γ-sets of D i that do not contain x i . Then
T ( γ ) = T 1 ( γ ) T 2 ( γ ) T k ( γ ) ( T 1 x 1 ( γ ) T 2 x 2 ( γ ) T k x k ( γ ) ) .
Theorem 2.
[4] The γ-graph T ( γ ) of every tree T is a connected graph.
Theorem 3.
[4] For any tree T, T ( γ ) is C n -free, for any odd n 3 . [That is, T ( γ ) is bipartite.]
The main objective of this paper is the investigation of open question 4. In Section 2, we develop a method for constructing the γ -graph of a tree. In Section 3, we characterize those trees which are γ -graphs of trees. Finally, in Section 4, we state some further results for graphs which are γ -graphs of trees.
The following observations are used, frequently without reference, throughout the paper.
Observation 1.
If D 1 and D 2 = ( D 1 { u } ) { v } with u v are two distinct γ-sets of a tree, then  p n ( D 1 , u ) = p n ( D 2 , v ) { u , v } .
Observation 2.
If u D is such that p n ( D , u ) = { u } , then for each v N ( u ) , we have that D is adjacent to D v = ( D { u } ) { v } .
Observation 3.
If D 1 , D 2 = ( D 1 { u } ) { v } and D 3 = ( D 1 { u } ) { w } with v , w N ( u ) are three distinct g a m m a -sets of a tree, then p n ( D 1 , u ) = p n ( D 2 , v ) = p n ( D 3 , w ) = { u } .
Note that Observations 1 and 3 do not hold for general graphs.

2. Computing γ -Graphs of Trees

While Fricke et al. [4] developed a method to determine the γ -graphs of trees that contain a vertex not appearing in any γ -set (Theorem 1), there are trees for which every vertex appears in some γ -set. We present a general algorithm to determine the γ -graph of a tree. We first state the following results of Edwards, MacGillivray, and Nasserasr [3] which will aid in verifying the algorithm. If D is a γ -set of a rooted tree ( T , c ) , then the depth of D, denoted d p T ( D ) (referred to as the height of D in [3]), is  x D d ( x , c ) . Define D to be a higher γ -set than F if d p T ( D ) < d p T ( F ) and D to be a highest γ-set if d p T ( D ) d p T ( F ) for all γ -sets F of T. That is the minimum depth is equal to the greatest height.
Lemma 1.
[3] A γ-set D is a highest γ-set of a tree T rooted at a vertex c if and only if every x D { c } has a child y p n ( x , D ) .
Theorem 4.
[3] Let T be a tree rooted at a vertex c. Then T has a unique highest γ-set.
The algorithm DOMSET, developed by Cockayne, Goodman, and Hedetniemi [1] finds a minimum dominating set of a tree in linear time. We demonstrate that with a slight modification to the algorithm not affecting the run time, i.e., we exclude the root from being an eligible end vertex, the algorithm finds the highest minimum dominating set of a rooted tree.
Theorem 5.
Let T be a tree rooted at a vertex c. The output, S, of HIGHEST ( T , c ) (see Algorithm 1) is the highest γ-set of T.
Algorithm 1 Let T be a tree rooted at a vertex c. We construct the highest γ -set S of ( T , c ) as follows:
1:
procedureHIGHEST( T , c )
2:
    Set S ; G T ; label each vertex of T as bound.
3:
    while G has an endvertex v c adjacent to a vertex u do
4:
        if v is free then
5:
            G G v .
6:
        else if v is bound then
7:
           Relabel u as required;
8:
            G G v .
9:
        else if v is required then
10:
            S S { v } ;
11:
           If u is bound then relabel u as free;
12:
            G G v .
13:
        end if
14:
    end while
15:
    if c is not free then
16:
         S S { c } .
17:
    end if
18:
end procedure
Proof. 
Let D be the γ -set output by HIGHEST ( T , c ) . By Lemma 1, D is a highest γ -set of T if and only if every x D { c } has a child y p n ( x , D ) . Suppose there exists an x D { c } such that x has no child in p n ( x , D ) . Let y be a child of x. Either y S or some child of y was in S. In the first case, y was relabelled required when it was processed by HIGHEST ( T , c ) and in the latter case y was labelled required or free, when it was processed by HIGHEST ( T , c ) . In either case y was not labelled bound. But then, as y was arbitrary, x could not have been labelled as required before being processed by HIGHEST ( T , c ) , and so x S , contradicting our assumption. Hence, together with Theorem 4, S is the highest γ -set of T. □
We now present the following algorithm for determining the γ -graph of a tree. For each vertex v in T, let i ( v ) be its index in a breadth-first traversal of T. We note that any such algorithm must be exponential as the number of gamma sets of a tree is potentially exponential. Recently, Rote [6] provided a family of trees, referred to as the star of snowflakes, with 13 k + 1 vertices and at least 95 k minimum dominating sets, i.e., trees whose number of γ -sets is on the order of 1 . 4194 n , establishing a lower bound on the maximum number of minimum dominating sets.
The remainder of this section is devoted to verifying the correctness of GAMMATREE( T , c , S ). The index of a γ -set D, denoted here i ( D ) , is defined on line 16 of Algorithm 2. We first prove the following lemma regarding the value of the index of a γ -set.
Algorithm 2 Let T be a tree rooted at a vertex c and let S be the highest γ -set of T. For each vertex v in T, let  i ( v ) be its index in a breadth-first traversal of T. We construct the γ -graph of T, T ( γ ) = ( V , E ) , as follows:
1:
procedureGAMMATREE( T , c , S )
2:
     V { S } ; E .
3:
     parents ( S ) ; children ( S ) ; i ( S ) 0 .
4:
    for all D V do
5:
        for all v D do
6:
           if p n ( v , D ) = { v } then
7:
                Swap { x : x N ( v ) , i ( x ) > i ( D ) } .
8:
           else if p n ( v , D ) { v } = { x } i ( x ) > i ( D ) then
9:
                Swap { x } .
10:
           else
11:
                Swap .
12:
           end if
13:
           for all x Swap do
14:
                D D { v } { x } .
15:
                V V { D } ; E E { ( D , D ) } .
16:
                parents ( D ) { ( D , x ) } ; children ( D ) ; i ( D ) i ( x ) .
17:
                children ( D ) children ( D ) { ( D , x ) } .
18:
               for all ( A , a ) parents ( D ) do
19:
                   for all ( B , b ) children ( A ) do
20:
                       if b = x then
21:
                           E E { ( D , B ) } .
22:
                           children ( B ) children ( B ) { ( D , a ) } .
23:
                           parents ( D ) parents ( D ) { ( B , a ) } .
24:
                       end if
25:
                   end for
26:
               end for
27:
           end for
28:
        end for
29:
    end for
30:
end procedure
Lemma 2.
Let T be a tree rooted at a vertex c and let S be the highest γ-set of T. For every γ-set D S found by GAMMATREE( T , c , S ),
i ( D ) = max v D S i ( v ) .
Proof. 
Suppose D is the first γ -set of T found by GAMMATREE( T , c , S ) such that i ( D ) is not the largest index of the vertices of D not appearing in S. By definition of i ( D ) , there exists a γ -set D and vertices v , x such that i ( D ) = i ( x ) , D = ( D { v } ) { x } and i ( x ) > i ( D ) .
Suppose first that y is a vertex in D S such that i ( y ) > i ( D ) . By choice of D , we have that i ( D ) = max u D S i ( u ) and since y D , i ( D ) i ( y ) . Hence, i ( D ) = i ( x ) > i ( D ) i ( y ) > i ( D ) , which is a contradiction. Therefore, i ( y ) i ( x ) for all y D S and if x D S so we assume x D S .
Hence any vertex in D with an index at least i ( x ) must also be in S. In particular, x, and every descendant of x in D must also be in S. By Lemma 1, x, and every descendant of x in S has a child S-private neighbour which is also a child D -private neighbour. Let w be a child S-private neighbour of x which is also a child D -private neighbour of x. Clearly w S . As D is dominating and D = ( D { x } ) { v } , it must be the case that v = w . Hence i ( D ) = max u D S i ( w ) > i ( x ) , which is a contradiction as i ( x ) > i ( D ) . The result follows. □
Theorem 6.
Let T be a tree rooted at a vertex c and let S be the highest γ-set of T. Every γ-set D S of T is obtained by GAMMATREE( T , c , S ).
Proof. 
Assume there is a γ -set of T which is not obtained by GAMMATREE( T , c , S ) . For a γ -set D = { v 1 , v 2 , , v γ ( T ) } of T, we define I ( D ) = { i ( v 1 ) , i ( v 2 ) , , i ( v γ ( T ) ) } , where i ( v 1 ) < i ( v 2 ) < < i ( v γ ( T ) ) . Let D be the γ -set not obtained by GAMMATREE( T , c , S ) for which I ( D ) is lexicographically smallest. Let x be so that i ( x ) = i ( D ) . Then every descendant of x in D has a higher index and hence is also in S. It follows from Lemma 1, each descendant of x in D has a child D -private neighbour. If x also has a child D -private neighbour, then every higher γ -set of T must contain x, contradicting that x S . Hence, no child of x is a D -private neighbour. Therefore, if v is the parent of x, then the set D = D { x } { v } is a γ -set of T. Since I ( D ) is lexicographically smaller than I ( D ) , D is found by GAMMATREE( T , c , S ). Clearly each vertex in D S ( D S ) { v } has a smaller index than x, so i ( x ) > i ( D ) . Further, as D and D are both γ -sets of T, p n ( v , D ) { v , x } , so for v D , x Swap . Hence, D is found by GAMMATREE( T , c , S ), which is a contradiction proving the theorem. □
Finally, we will show GAMMATREE( T , c , S ) obtains every edge of T ( γ ) . We first demonstrate that the γ -sets are obtained by GAMMATREE ( T , c , S ) in order of depth.
Lemma 3.
The algorithm GAMMATREE ( T , c , S ) can be implemented so that the γ-sets of T are obtained in order of depth.
Proof. 
Let D be a γ -set obtained by GAMMATREE( T , c , S ) . As GAMMATREE( T , c , S ) runs, store the dominating sets of T (these are the elements of V) in a queue, so that first one discovered by GAMMATREE( T , c , S ) is the first one processed by GAMMATREE( T , c , S ) . It suffices to prove that every γ -set D found from D (i.e., at line 14) is such that d p T ( D ) = d p T ( D ) + 1 . We observe that D = ( D { v } ) { x } for adjacent vertices v and x. If D = S , then every z D { c } has a child y p n ( z , D ) , so x is a child of v and d p T ( D ) = d p T ( D ) + 1 as desired. Now suppose D S . If i ( v ) > i ( D ) , then by Lemma 2, v S and every descendant of v which is in D is also in S. It follows that v has a child y p n ( v , D ) , so x must be a child of v, and d p T ( D ) = d p T ( D ) + 1 as desired. Otherwise, i ( v ) i ( D ) and i ( x ) > i ( D ) . Then it is clear that x is a child of v, and the result again follows. □
Theorem 7.
Let T be a tree rooted at a vertex c and let S be the highest γ-set of T. The algorithm GAMMATREE ( T , c , S ) can be implemented so that each edge in T ( γ ) is obtained by GAMMATREE( T , c , S ).
Proof. 
Implement algorithm GAMMATREE ( T , c , S ) as required in Lemma 3 and suppose not all edges of γ ( T ) are obtained. Let D 1 be the first γ -set found by GAMMATREE( T , c , S ) such that there exists a γ -set D 2 , found before D 1 , where D 2 = ( D 1 { z } ) { y } , y z E ( T ) , but edge D 1 D 2 is not obtained by GAMMATREE( T , c , S ). By Lemma 3, d p T ( D 2 ) = d p T ( D 1 ) 1 . As D 1 and D 2 are both γ -sets of T, we have p n ( z , D 1 ) = p n ( y , D 2 ) { y , z } . Suppose i ( x ) = i ( D 1 ) . Then by Lemma 3, D 1 was found while processing a set D 3 = ( D 1 { x } ) { w } , where w is the parent of x in T. Clearly, neither D 2 nor D 3 is S. Hence, there exists a γ -set D 4 such that D 4 = ( D 3 { z } ) { y } = ( D 2 { x } ) { w } . Moreover, since w is the parent of x, we have
d p T ( D 4 ) + 1 = d p T ( D 3 ) = d p T ( D 2 ) = d p T ( D 1 ) 1 ,
so D 4 is found before D 2 and D 3 by Lemma 3. Hence, D 2 D 4 and D 3 D 4 were both obtained by GAMMATREE( T , c , S ). In particular, ( D 4 , z ) parents ( D 3 ) and ( D 2 , x ) children ( D 4 ) . Thus, we obtain the edge D 1 D 2 when processing D 3 , which is the contradiction proving the theorem. □
The correctness of the algorithm immediately follows.
Corollary 1.
Let T be a tree rooted at a vertex c and let S be the highest γ-set of T. The algorithm GAMMATREE( T , c , S ) can be implemented to produce T ( γ ) .
Proof. 
By Theorem 6, we obtain every vertex of T ( γ ) , and by Theorem 7, we obtain every edge of T ( γ ) . The result follows. □

3. γ -Trees of Trees

In this section, we characterize the trees which are γ -graphs of trees. We first consider properties of the γ -sets corresponding to the leaves of a γ -graph. (Recall we equate each node in G ( γ ) with its corresponding γ -set of G.)
Lemma 4.
Let T be a tree with at least three vertices and let T ( γ ) be the γ-graph of T. If D is a leaf in T ( γ ) , then exactly one vertex v D has fewer than two D-external private neighbours. Furthermore either v has exactly one D-external private neighbours or v is both a leaf in T and a D-self private neighbour.
Proof. 
Note that if every vertex of dominating set D in a tree has at least two D-external private neighbours, D has no neighbours in T ( γ ) . If a vertex x in T has exactly one external private neighbour y in D, then ( D { x } ) { y } is a γ -set of T adjacent to D. If a vertex z in T has no external private neighbours in D, then z must be a self private neighbour in D and for every w N ( z ) , ( D { z } ) { w } is a γ -set of T adjacent to D. As D is adjacent to exactly one γ -set, the result follows. □
Next, we prove a fundamental result on the number of private neighbours of a vertex in adjacent γ -sets of a tree.
Lemma 5.
Let D and F be γ-sets of a tree T which are adjacent in T ( γ ) and let x D F . Then | p n ( x , D ) p n ( x , F ) | 1 and | p n ( x , F ) p n ( x , D ) | 1 .
Proof. 
Suppose F = ( D { y } ) { z } for adjacent vertices y and z in T. Let x D F . Suppose the result is false and assume without loss of generality that | p n ( x , D ) p n ( x , F ) | 2 . If x is a D-self private neighbour, but not an F-self private neighbour, then z x and z is adjacent to a D-external private neighbour of x, say w. Then of x w z is a 3-cycle in T, which contradicts that T is a tree. Otherwise, x has at least two D-external private neighbours v , w that are adjacent to z, so x v z w is a 4-cycle in T, which contradicts that T is a tree. The result follows. □
We now consider the γ -sets of leaves adjacent to the same stem.
Lemma 6.
Let T be a tree and let T ( γ ) be the γ-graph of T. If S is a stem in T ( γ ) with degree at least three and L 1 , L 2 , , L k are the leaves of S, then there exists vertices x S and y 1 , y 2 , , y k V ( T ) S so that x y i and L i = ( S { x } ) { y i } for i = 1 , 2 , k .
Proof. 
If k = 1 , the statement is trivial, so assume k 2 . As S is adjacent to L i in T ( γ ) , for each i there exists vertices x i and y i so that L i = ( S { x i } ) { y i } and x i y i . Let X = { x i : i = 1 , 2 , , k } S . Suppose | X | 2 . By Lemma 4, y i is the only vertex in L i with fewer than two L i -external private neighbours. In particular, if x i x j , then x i has at least two L j -external private neighbours. It now follows from Lemma 5, that each x i has an S-external private neighbour.
If x i x j , then S { x i , x j } { y i , y j } is not a γ -set of T as L i and L j are leaves of T ( γ ) . Hence there exists a vertex z i j which is not dominated by S { x i , x j } { y i , y j } . It must be the case that both x i and x j are neighbours of z i j . If | X | 3 , then each such z i j must be identical or T is not a tree, but then S { x i , x j } { y i , y j } is dominating, a contradiction. Hence we assume | X | = 2 , say X = { x 1 , x 2 } . Note that for i = 1 , 2 , p n ( S , x i ) = p n ( L i , y i ) { x i , y i } . As each x i has an S-external private neighbour, y i is an S-private neighbour of x i . Hence for i = 1 , 2 , x i may only swap with y i . Furthermore as y i is the only vertex in L i with fewer than two L i -external private neighbours, x 1 and x 2 have only one common neighbour, z 12 , and since T has no cycles, it follows that x 1 and x 2 are the only vertices in S with fewer than two S-external private neighbours. Thus, S, L i , and L j are the only γ -sets of T, contradicting that S has degree at least three. Hence, | X | = 1 , which completes the proof. □
Our next step is to show the graph H, pictured in Figure 1, is not a γ -graph of a tree.
Lemma 7.
No tree has H as its γ-graph.
Proof. 
Let H be labeled as in Figure 1 and suppose H is the γ -graph of a tree T. By Lemma 6, there exists vertices x S and w R so that L i = ( S { x } ) { y i } and M i = ( R { w } ) { z i } where y 1 , y 2 N ( x ) and z 1 , z 2 N ( w ) . Further there exists u S so that R = ( S { u } ) { v } with u v . By Observation 3, x has no S-external private neighbours and w has no R-external private neighbours.
Suppose first x R . Then x u and by Lemma 5, x has at most one R-external private neighbour. Hence, there exists a vertex y N ( x ) such that Q : = ( R { x } ) { y } is a γ -set of T. As x u and R has only three neighbours, it follows that Q { M 1 , M 2 } and therefore x = w . By Observation 2, N ( x ) = { y 1 , y 2 } and N ( w ) = { z 1 , z 2 } and therefore { y 1 , y 2 } = { z 1 , z 2 } . Without loss of generality y 1 = z 1 . Then M 1 = L 1 { u } { v } . Thus, L 1 and M 1 are neighbours in H, which is a contradiction.
Hence it must be that x R . By symmetry, w S . It follows that x = u and w = v . In particular, x w . But as w has no R-external private neighbours, it is a self private neighbour in R, and hence must be an external private neighbour of x in S. But x has no S-external private neighbours, which is a contradiction. The result follows. □
We now show that if a graph is a γ -graph of a tree, then deleting leaves produces graphs that must also be γ -graphs of trees. In particular, if a tree is a γ -graph of a tree, then all subtrees are also γ -graphs of trees.
Lemma 8.
If G is a γ-graph of a tree T, D is a leaf of G and x D has fewer than two D-external private neighbours, then D is the unique γ-set of T containing x.
Proof. 
Consider T a component of T N [ x ] . Then D V ( T ) is clearly a dominating set of T . If D V ( T ) is not also a γ -set of T , then D is not minimal. Hence D V ( T ) is a γ -set of T and since each vertex of D { x } has at least two D-external private neighbours, D V ( T ) has no neighbours in T ( γ ) . It follows from Theorem 2 that D V ( T ) is the only γ -set of T . As T is a tree, the vertices in N ( x ) are adjacent to at most one vertex in T . Recall each vertex of D V ( T ) has at least two D-external private neighbours. Let E be a γ -set of T containing x. Then E V ( T ) must contain at least | D V ( T ) | vertices. Since T was arbitrary, | D | = | E | = γ ( T ) and | D V ( T ) | = | E V ( T ) | , the set E has at most one vertex in N [ x ] , namely x. For any component, T of T N [ x ] , D V ( T ) is the unique γ -set of T . Therefore D is the unique γ -set of T containing x. □
Theorem 8.
If G is a γ-graph of a tree T and L is a leaf of G, then G L is a γ-graph of some tree T .
Proof. 
By Lemma 4, exactly one vertex x in L has fewer than two L-external private neighbours. Moreover, either x has exactly one L-external private neighbour or x is a leaf in T and an L-self private neighbour. By Lemma 8, L is the unique γ -set of T containing x.
If x is a leaf of T and is an L-self private neighbour, then T is formed by adding a leaf to the stem of x. Suppose on the other hand, x has exactly one external private neighbour y. If x is a self private neighbour, then T is formed by rooting T at y, deleting the descendants of x, and adding a leaf to y. Otherwise, T is formed by rooting T at y, and deleting x and its descendants. □
Corollary 2.
If G is a tree and a γ-graph of a tree T, then every subtree of G is a γ-graph of some tree.
Corollary 3.
If G is a tree and a γ-graph of a tree T, then H is not a subtree of G.
Proof. 
The result immediately follows from Lemma 7 and Corollary 2. □
From the previous corollary, we know that if a tree is a γ -graph of a tree, then the vertices of degree at least three are not adjacent. We now wish to show all trees without adjacent vertices of degree at least three are the γ -graph of a tree. The proof is constructive. We establish first some building blocks.
Theorem 9.
Let Y n be the graph obtained by taking n copies of K 1 , 3 and joining a leaf of each copy to a common vertex (see Figure 2 for an example). Then Y n ( γ ) K 1 , n , and in every γ-set which is a leaf of K 1 , n , every vertex has an external private neighbour.
Proof. 
Since every stem of Y n is adjacent to two leaves, every γ -set of Y n must contain every stem. Only the common centre vertex is left to be dominated, so we can form a γ -set by adding this vertex or any of its neighbours. Further, the only edges are between the γ -set containing the common centre vertex and each of the other γ -sets. Finally, in each of these other γ -sets, every stem has at least two external private neighbours, its leaves, and the additional vertex has the common centre vertex as its private neighbour. The result follows. □
We now provide a tool for combining these building blocks.
Lemma 9.
Suppose for i = 1 , 2 , G i is a γ-graph of tree T i , X i is a leaf of G i and every vertex in the dominating set X i has at least one X i -external private neighbour. By Lemma 4, in each X i there is exactly one vertex v i V ( T i ) with fewer than two X i -external private neighbours. Then G, the graph formed by identifying X 1 and X 2 is the γ-graph of a tree T : T 1 v 2 v 1 T 2 , the tree formed by linking T 1 and T 2 by creating a new vertex v adjacent to v 1 and v 2 .
Furthermore let Y V ( G 1 ) be a dominating set of T 1 and Y V ( G ) be the corresponding dominating set of T. If every vertex of Y has a Y-external private neighbour, then every vertex in Y has a Y -external private neighbour.
Proof. 
By Lemma 4, exactly one vertex v i in X i has fewer than two external private neighbours. It follows that v i has exactly one external private neighbour. Form T from T 1 and T 2 by adding a new vertex v with N ( v ) = { v 1 , v 2 } . We now show that T ( γ ) G .
It is clear that γ ( T ) γ ( T 1 ) + γ ( T 2 ) . Suppose some γ -set D of T contains v. Then without loss of generality, γ ( T 1 { v 1 } ) < γ ( T 1 ) . Let D be a γ -set of T { v 1 } . Then no neighbour of v 1 is in D . Hence D { v 1 } is a γ -set of T 1 and v 1 has no external private neighbours. Then, by Lemma 8, D { v 1 } is the unique γ -set of T 1 containing v 1 , so D { v 1 } = X 1 . But this contradicts the presupposition that every vertex in X 1 has an X 1 -external private neighbour. Hence no γ -set of T contains v, γ ( T ) = γ ( T 1 ) + γ ( T 2 ) and every γ -set of T is the union of a γ -set of T 1 and a γ -set of T 2 .
Every γ -set of T must contain v 1 or v 2 for v to be dominated. Let X = X 1 X 2 . It is clear that X is the unique γ -set containing both v 1 and v 2 . Since every other vertex in X has least two external private neighbours, and v 1 and v 2 have exactly one external private neighbour, X is adjacent to two γ -sets. Let D be a dominating set of T other than X. If v 2 D and by Lemma 8, D T 2 X 2 and every vertex in D T 2 has at least two D-external private neighbours. Therefore the subgraph of the γ -sets of T containing v 2 in T ( γ ) is G 1 and similarly the subgraph of the γ -sets of T containing v 1 in T ( γ ) is G 2 . Hence, the γ -graph of T is G as required. The final statement follows directly from the above construction. □
We can now prove the main result.
Theorem 10.
If G is a tree, then G is a γ-graph of some tree if and only if H is not a subtree of G.
Proof. 
Necessity follows by Corollary 3; it remains to show sufficiency. The result trivially holds for K 1 as K 1 ( γ ) K 1 ; so suppose G has at least two vertices. We proceed by induction on k, the number of degree two vertices of G. If k = 0 , then G K 1 , n 1 , and by Theorem 9, K 1 , n 1 is the γ -graph of Y n 1 , and in every γ -set which is a leaf of K 1 , n 1 , every vertex has an external private neighbour.
Assume k > 0 and that every tree F not containing H as a subtree with fewer than k degree two vertices is the γ -graph of some tree and in every γ -set which is a leaf of F, every vertex has an F-external private neighbour. Let x be a degree two (cut-)vertex in G, and let G 1 and G 2 be the two components of G { x } . As G 1 { x } and G 2 { x } each have fewer than k degree two vertices, then by the induction hypothesis, each is the γ -graph of a tree (say T 1 and T 2 respectively) and in every γ -set which is a leaf of T 1 and T 2 repsectively, every vertex has an external private neighbour. By Lemma 9, there are vertices v 1 V ( T 1 ) and v 2 V ( T 2 ) so that the γ -graph of T 1 v 2 v 1 T 2 is G and by construction, in every γ -set which is a leaf of G, every vertex has an external private neighbour. The result follows. □

4. Properties of γ -Graphs of Trees

In this section, we investigate general properties of γ -graphs of trees. We begin with a result classifying the edges in γ -graphs of trees, highlighting the importance of cut edges and 4-cycles in these graphs.
Lemma 10.
Let T be a tree and let T ( γ ) be the γ-graph of T. Every edge of T ( γ ) is a cut-edge or is contained in a 4-cycle.
Proof. 
Let e be an edge which is not a cut-edge of T ( γ ) . Then e is contained in a cycle. But cycles in Algorithm 2 are only created at line 21, which always creates a 4-cycle. The result follows. □
We now show that a cut-edge, not incident with a leaf allows you to decompose a γ -graph of a tree into two smaller graphs, both of which are also γ -graphs of trees.
Lemma 11.
Let G be a γ-graph of a tree T with a cut-edge e, and let G 1 and G 2 be the components of G e . Then G 1 + e and G 2 + e are each γ-graphs of trees.
Proof. 
Let e = A B with A V ( G 1 ) and B V ( G 2 ) and assume A = ( B { y } ) { z } . Let { z } { z i } be the set of vertices that can be swapped from B. Form T by adding a leaf to each z i . Since e is a cut-edge, z i cannot be swapped in A, and hence each z i has exactly one external private neighbour in B. But B is also a γ -set of T , and each z i has two external private neighbours. Moreover, each γ -set in G 1 is also a γ -set of T , so it follows that G 1 + e is the γ -graph of T . By symmetry, G 2 + e is also the γ -graph of a tree. □
Setting G = H (see Figure 1) and e the edge joining the two stems of H, shows the converse of Lemma 11 does not necessarily hold. That is both G 1 + e = K 1 , 3 and G 2 + e = K 1 , 3 are each γ -graphs of trees, but G = H is not a γ -graph of any tree. Lemma 11 does provide a tool for showing a graph with a cut-edge not incident to a leaf is not the γ -graph of any tree T. For example, consider the graph Z shown in Figure 3. Let Z 1 and Z 2 be the components of Z obtained by deleting the edge e, where Z 2 is a tree. Then Z 2 + e is a tree with adjacent vertices of degree at least 3 and thus by Theorem 10, Z 2 + e is not the γ -graph of any tree T. It now follows from Lemma 11 that Z is not the γ -graph of any tree T.
The remainder of the paper will focus on γ -graphs of trees where every edge is in a 4-cycle or incident with a leaf. We first present the following useful result due to Edwards, MacGillivray, and Nasserasr [3], which will be applied throughout.
Lemma 12.
[3] For a γ-set D of a tree T and a vertex z D , there is at most one vertex v D such that ( D { v } ) { z } is also a γ-set of T.
We now demonstrate a key property of the γ -sets which when equated to their vertices form a 4-cycle of T ( γ ) that we will make extensive use of in our next set of results.
Proposition 2.
If G is a γ-graph of a tree T and W X Y Z is a 4-cycle of G, then for some distinct a , b W and distinct c , d W with a c and b d , X = ( W { a } ) { c } , Z = ( W { b } ) { d } and Y = ( W { a , b } ) { c , d } = ( Z { a } ) { c } = ( X { b } ) { d } .
Proof. 
For some p , r W and q , s W with p q and r s we have X = ( W { p } ) { q } and Z = ( W { r } ) { s } . It follows from Lemma 12 that q s . If q , s Y , then as Y W , for some vertex t X Z , with q , s N ( t ) , Y = ( X { q } ) { t } = ( Z { s } ) { t } and p = r with p Y . But then p q t s is a 4-cycle in T, which contradicts that T is a tree. Hence either q Y or s Y . Suppose without loss of generality q Y . In the case that s Y , then Y = ( Z { s } ) { q } and therefore ( X { r } ) { p } . This implies s is adjacent to q in T and r is adjacent to p in T (with p r ). But then p q s r is a 4-cycle in T, contradicting that T is a tree. Hence, q , s Y . If p = r , then there exists a vertex u W so that Y = ( X { u } ) { s } = ( Z { u } ) { q } and hence both s and q are adjacent to u in T. It follows that s u q p ( = r ) is a cycle in T, showing that p and r are distinct. Thus Y = ( W { p , r } ) { q , s } , as required. □

4.1. Cartesian Product and γ -Graphs of Trees

Every edge in the Cartesian product of two connected graphs of order at least two is in a 4-cycle. Theorem 1 highlights one aspect of the connection between γ -graphs and the Cartesian product. When movement of the dominating set in one part of a graph has no effect on movement of the dominating set in another part of the graph, the Cartesian product frequently arises. In this section we exploit this connection and establish that the Cartesian product can both decompose γ -graphs of trees into smaller γ -graphs of trees and be used to combine γ -graphs of trees to discover other γ -graphs of trees. We first consider Cartesian product graphs, the set of graphs which can be obtained from the Cartesian product of graphs of order at least two. Sabidussi [7] and Vizing [9] independently demonstrated a prime factorization of graphs, analogous to the Fundamental Theorem of Arithmetic.
Theorem 11.
[7,9] All finite connected graphs have a unique prime factorization with respect to Cartesian multiplication.
We show that if G is a `composite’ graph, then each of its prime factors are γ -graphs of trees if and only if G is also the γ -graph of a tree. Hence, to characterize γ -graphs of trees, we need only consider `prime’ graphs under Cartesian multiplication. The proof in one direction is technical and so we first provide an example to demonstrate the proof. We require a definition. Let T be a tree and consider an edge e = D 1 D 2 of T ( γ ) , where D 1 and D 2 are γ -sets of T. Define s w ( e ) = { x , y } , the unique vertices x and y so that D 2 = ( D 1 { x } ) { y } .
Consider C 4 P 5 , shown in Figure 4, is the γ -graph of the tree T shown in Figure 5 and the edge e = U 1 U 2 in C 4 . The edges in C 4 P 5 associated with e are labelled e 1 , e 2 , e 3 , e 4 and e 5 . Recall the two vertices incident with e 1 , namely D 1 = ( U 1 , V 1 ) and D 2 = ( U 2 , V 1 ) in C 4 P 5 are equated with γ -sets of T and since e 1 is an edge in the T ( γ ) , there exists vertices x , y V ( T ) so that D 2 = ( D 1 { x } ) { y } . Hence s w ( e 1 ) = { x , y } . By Proposition 2, it is also the case that s w ( e 2 ) = { x , y } and if e is incident with e 1 , then x s w ( e ) and y s w ( e ) . Repeated applications of Proposition 2 shows that each of s w ( e 3 ) = s w ( e 4 ) = s w ( e 5 ) = { x , y } . Furthermore, Proposition 2 implies any edge e incident with e 1 , e 2 , e 3 , e 4 , or e 5 has the property that x s w ( e ) and y s w ( e ) . Similarly there are vertices a , b V ( T ) so that s w ( f 1 ) = s w ( f 2 ) = s w ( f 3 ) = s w ( f 4 ) = { a , b } and that a s w ( e ) and b s w ( e ) for any edge e incident with f 1 , f 2 , f 3 , or f 4 . It follows that { x , y } { a , b } = . More generally let E 1 be the set of edges of C 4 P 5 associated with edges of C 4 and let E 2 be the set of edges of C 4 P 5 associated with edges of P 5 . Then it follows that
e E 1 s w ( e ) e E 2 s w ( e ) = .
Now consider the set D = ( U 1 , V 1 ) of T which is indicated in Figure 5, by the vertices in D being marked with an × symbols. Add two leaves to each vertex in D e E 1 s w ( e ) = { y , z } to form a tree T 2 . Those vertices in the dominating set associated with edges of C 4 must be in every γ -set of T 2 . It follows that T 2 ( γ ) is isomorphic to P 5 .
For convenience in the following proof if v s w ( e ) we will say v is swapped by e and that e swaps v.
Theorem 12.
Let G be a Cartesian product graph with G = G 1 G 2 , G i K 1 . Then G is the γ-graph of a tree T if and only if each G i is the γ-graph of a tree T i .
Proof. 
Suppose G = G 1 G 2 , G 1 , G 2 K 1 , is the γ -graph of a tree T. Let e = U 1 U 2 be an edge of G 1 and let e 1 and e 2 be any two edges associated with e in G on vertices V 1 and V 2 of G 2 respectively. That is e 1 = ( U 1 , V 1 ) ( U 2 , V 1 ) and e 2 = ( U 1 , V 2 ) ( U 2 , V 2 ) . As G is connected by Theorem 2, there is a path between ( U 1 , V 1 ) and ( U 1 , V 2 ) in G, and considering only the edges associated with edges in G 2 gives a path P between V 1 and V 2 in G 2 . Consider the subgraph e P of G. It follows from Proposition 2 that every edge associated with e in e P swaps the same pair of vertices. As e 1 and e 2 were arbitrary edges associated with e, then every edge associated with e in G swaps the same pair of vertices. By symmetry, this is true of every edge in G 1 or G 2 . Let ( W , X ) be a vertex of G and for i = 1 , 2 , let E i be the set of edges of G associated with the edges of G i . If a vertex a ( W , X ) is swapped by an edge in E 2 , it is not swapped by an edge in E 1 by Proposition 2. Hence, form T 1 by adding two leaves to any vertex in ( W , X ) that is swapped by an edge in E 2 . Then it follows that T 1 ( γ ) G 1 . By symmetry, G 2 is also the γ -graph of a tree.
Conversely, suppose each G i is the γ -graph of a tree T i . Let T be the graph formed by adding an edge between any stem of T 1 and any stem of T 2 . It is easily verified that T ( γ ) G . □

4.2. Incident 4-Cycles in γ -Graphs of Trees

In this subsection we give some structure to how four cycles interact locally in γ -graphs of a trees. We first demonstrate that K 2 , 3 cannot be a subgraph of a γ -graph of a tree. As a consequence, we observe that two 4-cycles have at most two common vertices, and moreover, if two 4-cycles have two common vertices, then the two common vertices are adjacent.
Theorem 13.
Let T be a tree and let T ( γ ) be the γ-graph of T. Then T ( γ ) does not contain K 2 , 3 as a subgraph.
Proof. 
For i { 1 , 2 , 3 } and j { 1 , 2 } let Y i and X j be vertices of T ( γ ) that induce K 2 , 3 . That is X j Y i for each possible i and j. Then for each i { 1 , 2 , 3 } there exist vertices a i X 1 and b i X 1 with a i b i and Y i = ( X 1 { a i } ) { b i } . By Lemma 12, it must be the case that b 1 , b 2 and b 3 are all distinct. It follows from Theorem 3 that X 1 and X 2 are at distance two in T ( γ ) . Therefore | X 2 X 1 | 2 and so for some i, b i X 2 X 1 . Assume with out loss of generality b 3 X 2 X 1 . As b 3 X 1 it must be the case that b 3 X 2 . Then for some vertex c Y 3 with c b 3 , X 2 = ( Y 3 { b 3 } ) { c } , and it follows that X 2 = ( X 1 { a 3 } ) { c } and therefore a 3 c . As each b i is distinct, we can assume without loss of generality that b 2 c . Then X 2 = ( Y 2 { a 3 , b 2 } ) { a 2 , c } . But d ( X 2 , Y 2 ) = 1 , so | X 2 Y 2 | = 1 , which shows it must be the case that a 2 = a 3 . Clearly b 2 and b 3 are both adjacent to a 3 in T. Furthermore X 2 is adjacent to Y 2 in G and X 2 = ( Y 2 { b 2 } ) { c } so it must be the case that b 2 is adjacent to c in T. By definition, c b 3 so either c b 2 a 3 b 3 forms a cycle in T or c = a 3 . Both cases lead to a contradiction. □
We have shown that two 4-cycles in T ( γ ) cannot overlap in more than two vertices. On the other hand, we can also say something about the structure required in T ( γ ) when two 4-cycles have only one common vertex. We first establish the following.
Proposition 3.
Let G be a γ-graph of a tree T and let C = W X Y Z be a 4-cycle of G. By Proposition 2 there are distinct a , b W and distinct c , d W with a c and b d , so that X = ( W { a } ) { c } , Z = ( W { b } ) { d } and Y = ( W { a , b } ) { c , d } . If U and V are each adjacent to W but not part of a 4-cycle with a pair of vertices of C and U = ( W { e } ) { f } and V = ( W { g } ) { h } , then e = g .
Proof. 
Suppose the opposite. It follows from Lemma 12 that c, d, f and h are all distinct. As neither U nor V is part of a 4-cycle with any two vertices of C, ( W { a , e } ) { c , f } is not a γ -set of T. Hence, if a e , a and e have common neighbour i which is not adjacent to any vertex in ( W { a , e } ) { c , f } . As b, g ( W { a , e } ) { c , f } , i is not adjacent to b or g in T. Similarly it can be seen ( W { b , e } ) { d , f } , ( W { a , g } ) { c , h } , and ( W { b , g } ) { d , h } are not γ -sets of T. Hence, if b e , b and e have common neighbour j not adjacent to a or g, if a g , then a and g have common neighbour k not adjacent to b or e, and if b g , b and g have common neighbour l not adjacent to a or e. It can be seen that i , j , k , l (if they exist) are all distinct.
Suppose a = e . Then as a and b are distinct, b e . Hence, b and e have common neighbour j not adjacent to a = e , a contradiction. Hence a e . Similarly we can show b e , a g and b g . But then a i e j b l g k is a cycle in T, contradicting that T is a tree. The result follows. □
Proposition 4.
Let G be a γ-graph of a tree T and let W X Y Z and W V U S be 4-cycles of G. Then there must be a 4-cycle W R Q P , with R { X , Z } and P { S , V } .
Proof. 
Suppose not. Then neither S nor V is part of a 4-cycle with a pair vertices of W X Y Z . Hence, by Proposition 2 there are distinct vertices a , b W and c , d W , with a c and b d so that S = ( W { a } ) { c } and V = ( W { b } ) { d } . By Proposition 3, a = b , a contradiction. The result follows. □
Define two 4-cycles of G to be adjacent if they share an edge and two adjacent cycles to be neighbours. Then Proposition 4 can be reworded to say that incident 4-cycles in a γ -graph of a tree must be adjacent to each other or have a common neighbour. We conclude our treatment of vertices of 4-cycles by demonstrating that adjacent vertices of a 4-cycle cannot both have vertex neighbours that are not part of neighbouring 4-cycles.
Proposition 5.
Let G be the γ-graph of a tree and let C be an induced C 4 of G. Then in any two adjacent vertices of C at most one has a neighbour which is not part of a 4-cycle with a pair of vertices of C.
Proof. 
Suppose G is the γ -graph of a tree T. Let C = W X Y Z and suppose that W and X have neighbours U and V respectively, which are not part of a 4-cycle with any two vertices of C. Recall a vertex of the γ -graph is a γ -set. By Proposition 2, there are distinct vertices a , b W and c , d W so that a c , b d , X = ( W { a } ) { c } , Z = ( W { b } ) { d } and Y = ( W { a , b } ) { c , d } . There are vertices e W , g X , f W and h X so that e f , g h , U = ( W { e } ) { f } and V = ( X { g } ) { h } . We note from Lemma 12 that d, f and c are all distinct and that d, h and a are all distinct. As neither U nor V is part of a 4-cycle with any two vertices of C we get:
  • if a e , then as ( W { a , e } ) { c , f } is not a γ -set of T, a and e have a common neighbour i N [ b ] N [ c ] .
  • if b e , then as ( W { b , e } ) { d , f } is not a γ -set of T, b and e have a common neighbour j N [ a ] .
  • if b g , then as ( X { b , g } ) { d , h } is not a γ -set of T, b and g have a common neighbour k N [ c ] .
  • if c g , then as ( X { c , g } ) { a , h } is not a γ -set of T, c and g have a common neighbour l N [ a ] N [ b ] .
Note that in the case they exist, i { j , k , l } and k l . If e { a , b } and g { b , c } , then a c l g k b j e i is a cycle in T, contradicting that T is a tree. Hence, by symmetry, we may assume either e = a or e = b .
Assume first that e = a . Then as a and b are distinct, b e . Therefore, from above a = e and b have a common neighbour j. Since Y = ( W { a , b } ) { c , d } is a γ -set of T, it must be that j = c (if j c , then a j c is a 3-cycle in T). If b g and c g , then as k c , b c l g k is a cycle in T, which contradicts that T is a tree. If g = b , as b W and c W , c g . From above c and g = b have a common neighbour, but c and b are adjacent, contradicting that T is a tree. If c = g , then the path U W X V in G corresponds to a swap of f and a, followed by a swap of a and c, followed by a swap of c and h. This corresponds to swaps of the four distinct vertices which induce a path f a c h in T and hence f and h are distance 3 apart in T. By Observation 1, p n ( f , U ) = p n ( a , W ) = p n ( c , X ) = p n ( h , V ) , but no vertex is in the closed neighbourhood of both f and h, a contradiction.
Otherwise, assume e = b . Then as a and b are distinct, a e . Therefore from above, a and b = e have a common neighbour, and since Y is a γ -set, it must be d. If b g and c g , then either a c k g l b d is a cycle in T or contains a cycle in T, which contradicts that T is a tree. If b = g , then c g . So from above c and g = b have a common neighbour l. As l N [ b ] , l d so a c l b d is a cycle in T, contradicting that T is a tree. If g = c , then g b . From above b and g = c have a common neighbour k. As k N [ c ] , k a so a c k b d is a cycle in T, contradicting that T is a tree. The result follows. □
While the evidence presented in this section is not conclusive, it highlights that locally, 4-cycles interact similarly to how 4-cycles interact in Cartesian Product graphs.

4.3. The Structure of Stems in 4-Cycles

Finally, we explore some properties of stems in a 4-cycle in the γ -graph of a tree. In particular we focus on the structure of the dominating set associated with the stem and the corresponding structure of the γ -graph. We first obtain the following Lemma.
Lemma 13.
Let G be a γ-graph of a tree T, S be a stem of G, L 1 , L 2 , , L k be the leaves of S, and G = G { L 1 , L 2 , , L k } . If every vertex in S has an S-external private neighbour, then k = 1 .
Proof. 
By Lemma 6, there exists vertices x S and y 1 , y 2 , , y k V ( T ) S so that x y i and L i = ( S { x } ) { y i } for i = 1 , 2 , k . By Lemma 4, every vertex except y j in L j has at least two L j -external private neighbours, so by Lemma 5, every vertex other than x in S has at least one S-external private neighbour. It follows that x has an S-external private neighbour and therefore by Observation 3, k = 1 . □
Proposition 6.
Let G be a γ-graph of a tree T, S be a stem of G, L 1 , L 2 , , L k be the leaves of S, and G = G { L 1 , L 2 , , L k } . If deg G ( S ) 3 , then G is a Cartesian product graph if and only if every vertex in S has an S-external private neighbour.
Proof. 
By Lemma 6, there exists vertices x S and y 1 , y 2 , , y k V ( T ) S so that x y i and L i = ( S { x } ) { y i } for i = 1 , 2 , k . By Lemma 4, every vertex except y j in L j has at least two L j -external private neighbours, so by Lemma 5, every vertex other than x in S has at least one S-external private neighbour. Let { x } Z be the set of vertices that can be swapped from S. If z Z , then z has two L j -external private neighbours, but has at exactly one S-external private neighbour. Therefore, each z Z has a distinct common neighbour with x which is not adjacent to any vertex of S { x , z } . Furthermore, rooting T at x, each z Z is in a distinct branch. By Observation 1, each z Z is associated with exactly one edge incident with S in G . Hence as deg G ( S ) 3 , if x has no S-external private neighbour, then | Z | 2 .
Suppose G = G 1 G 2 is a Cartesian product graph but some vertex in S has no S-external private neighbour. Then x has no S-external private neighbour and it follows that | Z | 2 . For i { 1 , 2 } , let z i be distinct elements of Z and let w i be common neighbour of x and z i which is not adjacent to any vertex of S { x , z i } . For a given i, U i = ( S { x } ) { w i } is a γ -set of T in G adjacent to S. Let e i = S U i . If e 1 is associated with an edge in G 1 and e 2 is associated with an edge in G 2 , note that e 1 e 2 is a 4-cycle which is a subgraph of G . This contradicts that the vertices a and b in the statement of Proposition 2 are unique. Hence we may assume each e i is in G 1 . By Theorem 2, G 1 and G 2 are connected. Then there exists an edge e incident with S associated with an edge in G 2 . Then for each i, e i e is 4-cycle which is a subgraph of G . By Proposition 2, e swaps of some z Z , z = z 1 . Hence if e = S W , there exists a vertex a S so that a z 1 and W = ( S { z 1 } ) { a } is γ -set of T in G . It follows from Observation 1 and that z 1 has an S-external private neighbour that a w 1 . Consider the 4-cycle e 2 e . By Proposition 2, V = S { x , z 1 } { w 2 , a } is a γ -set of T with no neighbour of w 1 , a contradiction. Hence vertex in S has an S-external private neighbour.
Conversely, suppose every vertex in S has an S-external private neighbour. By Lemma 13, k = 1 and it follows that, y 1 is the S-external private neighbour of x. Rooting T at x, every descendant of y 1 in L 1 has at least two L 1 -external private neighbours. Hence every descendant of y 1 in S has at least two S-external private neighbours. By Lemma 8, the only dominating set of T containing y 1 is L 1 and hence for every γ -set D L 1 of T every descendant of y 1 in S has at least two D-external private neighbours and cannot be swapped. It follows that x is in every γ -set which corresponds to a vertex in G . Then | Z | = deg G ( S ) 3 2 , and each z i Z has a distinct common neighbour with x. Each z i is in a distinct branch of T, and swaps occur in each such branch independently. Hence, G is a Cartesian product graph. □
Note that in the proof of the converse of the previous proposition the line, deg G ( S ) 3 , | Z | = deg G ( S ) 3 2 . For the result we require that | Z | 2 . Hence when a stem in the γ -graph has fewer non-leaf neighbours, we obtain the result in one direction.
Proposition 7.
Let G be a γ-graph of a tree T, S be a stem of G, L 1 , L 2 , , L k be the leaves of S, and G = G { L 1 , L 2 , , L k } . If deg G ( S ) 2 , and every vertex in S has an S-external private neighbour, then G is a Cartesian product graph.
We immediately obtain the following result demonstrating where leaves cannot be attached to Cartesian product graphs. Recall the vertices of the graph G 1 G 2 G n are ordered n-tuples. In particular, each vertex v V ( G 1 G 2 G n ) can be written in the form v = ( v 1 , v 2 , , v n ) , where v i V ( G i ) for i = 1 , 2 , , n .
Corollary 4.
Let G be a γ-graph of a tree T, S be a stem of G, L 1 , L 2 , , L k be the leaves of S, and G = G { L 1 , L 2 , , L k } . If deg G ( S ) 3 , G = G 1 G 2 G n , where each G i is `prime’, and S = ( V 1 , V 2 , , V n ) , then each V i is a leaf in G i .
Proof. 
By Lemma 6, there exists vertices x S and y 1 , y 2 , , y k V ( T ) S so that x y i and L i = ( S { x } ) { y i } for i = 1 , 2 , k . By Proposition 6, x has an S-external private neighbour and it follows from Lemma 13, that k = 1 and y 1 is the only S-external private neighbour of x. Rooting T at x, and noting every descendant of y 1 in L 1 has at least two L 1 -external private neighbours, it follows that x is in every γ -set which corresponds to a vertex in G .
Recalling that T is rooted at x let Z be the set of vertices that can be swapped from S in G ; each z Z has a distinct common neighbour with x and each z Z is in a distinct branch of T. Swaps occur in each such branch independently. Therefore, if G = G 1 G 2 G n , where each G i is `prime’, then without loss of generality each z Z swap occurs in a different G i . Hence V i is a leaf in G i as only one swap associated with an edge in G i can occur. □
Let α ( G , v ) denote the maximum number of edges incident with v with no pair of edges part of the same 4-cycle. We conclude by providing two additional tools to determine if graphs with stems are γ -graphs.
Lemma 14.
Let G be a γ-graph of a tree T, S be a stem of G, L 1 , L 2 , , L k be the leaves of S, and G = G { L 1 , L 2 , , L k } . If deg G ( S ) > 2 α ( G , S ) , then G is a Cartesian product graph.
Proof. 
Suppose G is not a Cartesian product graph. If L j = ( S { x } ) { y j } (Lemma 6), then it follows from Proposition 6, that x has no S-external private neighbour. By Proposition 2 at x can be swapped from S in G at most α ( G , S ) times, so deg T ( x ) k + α ( G , S ) . Let { x } Z be the set of vertices that can be swapped from S. Then deg G ( S ) = ( d e g T ( x ) k ) + | Z | . It can be shown, as in previous proofs, each z Z has a distinct common neighbour with x in G , so | Z | ( d e g T ( x ) k ) and hence deg G ( S ) 2 ( d e g T ( x ) k ) 2 α ( G , S ) , which is a contradiction. Hence, G is a Cartesian product graph. □
Proposition 8.
Let G be the γ-graph of a tree T, S be a stem of G, L 1 , L 2 , , L k be the leaves of S, and G = G { L 1 , L 2 , , L k } . If deg G ( S ) = 2 , S is in the 4-cycle P Q R S , and every vertex adjacent to Q is in a 4-cycle with P or R, then G is a Cartesian product graph.
Proof. 
Suppose G is not a Cartesian product. Let L j = ( S { x } ) { y j } (Lemma 6), then it follows from Proposition 6, that x has no S-external private neighbour. It follows from Lemma 14, that deg G ( S ) 2 α ( G , S ) and hence α ( G , S ) = 1 . Rooting T at x each descendant of y j in S has at least two L j -external private neighbours, each descendant of y j in S is in every γ -set of T. Delete each y j from T and let T be the component containing x. Then G T ( γ ) .
As α ( G , S ) = 1 , it follows from Proposition 2 only one swap in G can use x, so deg T ( x ) = 1 . If z is the other swap possible from S, then x and z have a common neighbour w, and p n ( z , S ) = { v } . Hence we may assume without loss of generality that the neighbours of S are P = ( S { z } ) { v } and R = ( S { x } ) { w } . By Proposition 2, Q = ( S { x , z } ) { w , v } . Let T 1 be the component of T z w containing w and T 2 be the component of T z w containing z. Let T 1 + T 2 be the disjoint union of T 1 and T 2 .
Suppose A is a γ -set T but not a γ -set of T 1 + T 2 . If w N T 1 + T 2 [ A ] , then x N T [ A ] , which contradicts that A is a γ -set of T . Hence, N T 1 + T 2 [ A ] = V ( T ) { z } and w A . As v is dominated by A, but v is not in A, there exists a neighbour of v, t A . As p n ( z , S ) = { v } , it follows that O = ( S { x , z } ) { w , t } is a γ -set of T . Hence, O = ( Q { v } ) { t } is a γ -set of T with v t and z p n ( w , O ) and therefore O is adjacent to Q. However, by Proposition 2, O does not form a 4-cycle with P, as ( O { w } ) { x } is not a γ -set of T , and O does not form a 4-cycle with R, as ( R { v } ) { t } is not a minimal dominating set ( v R ). Hence, every γ -set of T is a γ -set of T 1 + T 2 . Further, since x or w is in every γ -set in G , no swap in T uses the edge z w . Therefore, G T ( γ ) ( T 1 + T 2 ) ( γ ) T 1 ( γ ) T 2 ( γ ) , which is a contradiction. □

Author Contributions

This is a joint collaboration with both authors contributing substantially throughout. Writing–original draft was completed by C.M.v.B.

Funding

This research was funded by Natural Sciences and Engineering Research Council of Canada grant number 2014-06571.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cockayne, E.; Goodman, S.; Hedetniemi, S. A linear algorithm for the domination number of a tree. Inform. Process. Lett. 1975, 4, 41–44. [Google Scholar] [CrossRef]
  2. Connelly, E.; Hutson, K.R.; Hedetniemi, S.T. A note on γ-graphs. AKCE J. Graphs Combin. 2011, 8, 23–31. [Google Scholar]
  3. Edwards, M.; MacGillivray, G.; Nasserasr, S. Reconfiguring minimum dominating sets: The γ-graph of a tree. Discuss. Math. Graph Theory 2018, 38, 703–716. [Google Scholar] [CrossRef]
  4. Fricke, G.; Hedetniemi, S.M.; Hedetniemi, S.T.; Hutson, K.R. γ-graphs of graphs. Discuss. Math. Graph Theory 2011, 31, 517–531. [Google Scholar] [CrossRef]
  5. Mynhardt, C.M.; Nasserasr, S. Reconfiguration of colourings and dominating sets in graphs. In 50 Years of Combinatorics, Graph Theory, and Computing; Chung, F., Graham, R., Hoffman, F., Hogben, L., Mullin, R., West, D., Eds.; CRC Press: Boca Raton, FL, USA. (in press)
  6. Rote, G. The maximum number of minimal dominating sets in a tree. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, San Diego, CA, USA, 6–9 January 2019; SIAM: Philadelphia, PA, USA, 2019. [Google Scholar]
  7. Sabidussi, S. Graph multiplication. Math. Z. 1960, 72, 446–457. [Google Scholar] [CrossRef]
  8. Subramanian, K.; Sridharan, N. γ-graph of a graph. Bull. Kerala Math. Assoc. 2008, 5, 17–34. [Google Scholar]
  9. Vizing, V.G. The Cartesian product of graphs. Vycisl. Sistemy 1963, 9, 30–43. [Google Scholar]
Figure 1. The graph H.
Figure 1. The graph H.
Algorithms 12 00153 g001
Figure 2. The graph Y 3 .
Figure 2. The graph Y 3 .
Algorithms 12 00153 g002
Figure 3. The graph Z.
Figure 3. The graph Z.
Algorithms 12 00153 g003
Figure 4. The graphs C 4 , P 5 and C 4 P 5 .
Figure 4. The graphs C 4 , P 5 and C 4 P 5 .
Algorithms 12 00153 g004
Figure 5. A γ -set in a tree, T with T ( γ ) = C 4 P 5 .
Figure 5. A γ -set in a tree, T with T ( γ ) = C 4 P 5 .
Algorithms 12 00153 g005

Share and Cite

MDPI and ACS Style

Finbow, S.; van Bommel, C.M. γ-Graphs of Trees. Algorithms 2019, 12, 153. https://doi.org/10.3390/a12080153

AMA Style

Finbow S, van Bommel CM. γ-Graphs of Trees. Algorithms. 2019; 12(8):153. https://doi.org/10.3390/a12080153

Chicago/Turabian Style

Finbow, Stephen, and Christopher M. van Bommel. 2019. "γ-Graphs of Trees" Algorithms 12, no. 8: 153. https://doi.org/10.3390/a12080153

APA Style

Finbow, S., & van Bommel, C. M. (2019). γ-Graphs of Trees. Algorithms, 12(8), 153. https://doi.org/10.3390/a12080153

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