Hamiltonian chromatic number of block graphs
Devsi Bantva

TL;DR
This paper investigates the hamiltonian chromatic number of block graphs, providing a necessary and sufficient condition for a lower bound, and presents an algorithm for optimal coloring in specific classes of these graphs.
Contribution
It establishes a precise condition for the lower bound of the hamiltonian chromatic number of block graphs and introduces an algorithm for optimal coloring in certain block graph classes.
Findings
Derived a necessary and sufficient condition for the lower bound of hc(G) in block graphs.
Developed an algorithm for optimal hamiltonian coloring of SDB(p/2) block graphs.
Characterized level-wise regular block graphs and extended star of blocks achieving the lower bound.
Abstract
Let be a simple connected graph of order . A hamiltonian coloring of a graph is an assignment of colors (non-negative integers) to the vertices of such that + for every two distinct vertices and of , where denotes the detour distance between and in which is the length of the longest path between and . The value \emph{hc(c)} of a hamiltonian coloring is the maximum color assigned to a vertex of . The hamiltonian chromatic number, denoted by , is min\{\} taken over all hamiltonian coloring of . In this paper, we give a necessary and sufficient condition to achieve a lower bound for the hamiltonian chromatic number of block graphs given in [Theorem 1,On Hamiltonian Colorings of Block graphs, In: Kaykobad, M., Petrechi, R., (eds.) WALCOM: Algorithms and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\HeadingAuthor
Devsi Bantva \HeadingTitleHamiltonian chromatic number of block graphs
[email protected] ddb]Lukhdhirji Engineering College, Morvi 363 642
Gujarat (India)
Hamiltonian chromatic number of block graphs
Devsi Bantva
[
Abstract
Let be a simple connected graph of order . A hamiltonian coloring of a graph is an assignment of colors (non-negative integers) to the vertices of such that + for every two distinct vertices and of , where denotes the detour distance between and in which is the length of the longest path between and . The value hc(c) of a hamiltonian coloring is the maximum color assigned to a vertex of . The hamiltonian chromatic number, denoted by , is min{} taken over all hamiltonian coloring of . In this paper, we give a necessary and sufficient condition to achieve a lower bound for the hamiltonian chromatic number of block graphs given in [1, Theorem 1]. We present an algorithm for optimal hamiltonian coloring of a special class of block graphs, namely block graphs. We characterize level-wise regular block graphs and extended star of blocks achieving this lower bound.
\Body
1 Introduction
Motivation. The notion of graph colorings deals with the assignment of non-negative integers to vertices or edges or both of a graph according to certain rule. A radio -colorings of a graph is the one, which is motivated by the channel assignment problem. In the channel assignment problem, we seek to assign channels to each tv or radio transmitters located at different places such that it satisfies interference constraints. The interference between two transmitters is closely related to the distance between them. It is observed that closer the transmitters then higher the interference; hence the different level of interference occur according to distance between transmitters. In a graph model of channel assignment problem the transmitters are represented by vertices of graph and interference constraints is imposed on edges of a graph. Motivated through this Chartrand et al.[5] introduced the concept of radio -colorings of graphs defined as follows: For a connected graph of diameter and an integer with , a radio -coloring of is an assignment of colors (non-negative integers) to the vertices of such that for every two distinct vertices and of . The value of a radio -coloring of is the maximum color assigned to a vertex of ; while the radio -chromatic number of is min{} taken over all radio -colorings of . In particular, for = antipodal vertices can be colored the same and due to this reason, radio -coloring is called radio antipodal coloring or simply antipodal coloring.
While studying antipodal colorings for paths whose inequality is
[TABLE]
Chartrand et al.[7] observed that in case of paths , = and is same as the the length of a longest path which is denoted by known as detour distance between and , then (1) is equivalent to
[TABLE]
Motivated through this they suggested extension for arbitrary graph and introduced the concept of hamiltonian coloring of graphs which is defined as follows:
Definition 1.1**.**
A hamiltonian coloring of a graph of order is an assignment of colors (non-negative integers) to the vertices of such that for every two distinct vertices and of the following holds.
[TABLE]
The value of of a hamiltonian coloring is the maximum color assigned to a vertex of . The hamiltonian chromatic number of is min{}* taken over all hamiltonian colorings of .*
Chartrand et al.[7] found that two vertices and can be assigned the same color only if contains a hamiltonian path (a path which contains every vertex of graph ). Moreover, if is a hamiltonian-connected graph (a graph which contains a hamiltonian paths for every pair of vertices of it) then all the vertices can be assigned the same color. Thus, they notice that in a certain sense, the hamiltonian chromatic number of a connected graph measures how close is to being hamiltonian-connected; less the hamiltonian chromatic number of a connected graph is, the closer is to being hamiltonian-connected.
Note that any optimal hamiltonian coloring always assign label 0 to some vertex, then the span of any hamiltonian coloring which is defined as max{ : }, is the maximum integer used for coloring. However, in [7, 8, 10] only positive integers are used as colors. Therefore, the hamiltonian chromatic number defined in this article is one less than that defined in [7, 8, 10].
Related work. At present, the hamiltonian chromatic number is known only for handful of graph families. Chartrand et al. investigated the exact hamiltonian chromatic numbers for complete graph , cycle , star and complete bipartite graph in [7]. They proved that for every two integers and with and , there exist a hamiltonian graph (a graph is called hamiltonian if it has a hamiltonian close path) of order with hamiltonian chromatics number if and only if . They also gave an upper bound for the hamiltonian chromatic number of a connected graph in terms of its order. In [8], Chartrand et al. shown that if there exist a hamiltonian coloring of a connected graph of order such that at least vertices of are colored the same, then is hamiltonian. An upper bound for was established by Chartrand et al. in [7] but the exact value of which is equal to the radio antipodal number was determined by Khennoufa and Togni in [9]. In [10], Shen et al. have discussed the hamiltonian chromatic number for graphs with max{ : , } , where is the order of graph and they gave the hamiltonian chromatic number for a special class of caterpillars and double stars. The hamiltonian chromatic number of block graphs and trees is discussed by Bantva in [1] and [2], respectively. The researchers emphasize that determining the hamiltonian chromatic number is interesting but a challenging task even for some basic graph families.
Our contribution. In this paper, we give a necessary and sufficient condition to achieve a lower bound for the hamiltonian chromatics number of block graphs given in [1, Theorem 1]. To derive this necessary and sufficient condition, we use an approach similar to one used in [3, 4]. We also give two other sufficient conditions to achieve this lower bound for the hamiltonian chromatic number of block graphs. We provide an algorithm for the optimal hamiltonian coloring of a special class of block graphs, namely block graphs (defined later in the section 3). As an illustration, we present two class of block graphs, namely level-wise regular block graphs which is more general than symmetric block graphs given in [1] and extended star of blocks (for definition and detail about both graph families see section 4) achieving this lower bound.
2 Preliminaries
In this section, we define terms and notations which are necessary for present work. Further, the standard graph theoretic terminology and notation not defined here are used in the sense of [12].
We consider graph to be a finite, connected and undirected graph without loops and multiple edges. For a graph , we denote its vertex set and edge set by and . The order of a graph is the number of vertices in . For a vertex , the open neighborhood of denoted by , is the set of vertices adjacent to . The distance between two vertices and is the length of a shortest path connecting them. A cut vertex of a graph is a vertex whose deletion increases the number of components of . A block of a graph is a maximal connected subgraph of that has no cut-vertex. The detour distance between and , denoted by , is the length of the longest path between and in . The detour diameter, denoted by , is max{ : }. The detour eccentricity of a vertex is the detour distance from to a vertex farthest from . The detour center of is the subgraph of induced by the vertex/vertices of whose detour eccentricity is minimum. In [6], Chartrand et al. shown the following.
Proposition 2.1**.**
The detour center of every connected graph lies in a single block of .
A block graph is a connected graph all of whose blocks are cliques. We prove the following result about the detour center of block graphs.
Lemma 2.2**.**
The detour center of a block graph is either a vertex or a block.
Proof 2.3**.**
Let be a block graph and then by Proposition 2.1, we have for some block . Now if possible then assume that then there exist a vertex . Note that for any such that is detour eccentric path of . Let are the vertices of block . Then consider the detour path for which gives which contradicts with our assumption that . Hence, we obtain, .
In the present work, we denote = then by Lemma 2.2, it is clear that . The vertex/vertices of detour center are called detour central vertex/vertices for graph . Moreover, we denote the central vertex by when = 1 and {} when . For a block graph , define detour level function on by
:= min{ : }, for any .
The total detour level of a graph , denoted by , is defined as
[TABLE]
In a block graph , if is on the path, where is the nearest detour central vertex for , then is an ancestor of , and is a descendent of . If is an ancestor and adjacent to then is called parent of and is called child of . In a block graph , a block is called an ancestor block of another block if the path, where and consists a vertex . Let be a block attached to a central vertex. Then the subgraph induced by and all its descendent blocks is called a branch at . Two branches are called different if they are induced by two different blocks attached to the same central vertex, and opposite if they are induced by two different blocks attached to different central vertices.
For any , define := max{ : is a common ancestor of and }, and
[TABLE]
Lemma 2.4**.**
Let be a block graph with . Then for any the following holds:
- (a)
; 2. (b)
* = 0 if and only if and are in different or opposite branches;* 3. (c)
* = if and only if has two or more detour central vertices and and are in opposite branches;*
Proof 2.5**.**
The proof is straight forward from the definition of , and different and opposite branches in a block graph .
Note that the detour distance between any two vertices and in a block graph can be given as
[TABLE]
Moreover, equality holds in (4) if and are in different branches when = 1 and in opposite branches when .
Define = min{ : is a block attached to detour central vertex} when = 1; otherwise = 0.
3 Hamiltonian chromatic number of block graphs
Note that any hamiltonian coloring of a block graph is injective if has three or more branches as in this case no two vertices of block graph contain hamiltonian path. Therefore, throughout this discussion we assume block graphs with three or more branches. Note that a hamiltonian coloring on , induces an ordering of , which is a line up of the vertices with increasing images. We denote this ordering by = {, , , …, } with
0 = … .
Notice that, is a hamiltonian coloring, then the span of is .
In [1], Bantva gave a lower bound for the hamiltonian chromatics number of block graphs as stated in following Theorem.
Theorem 3.1**.**
[1]** Let be a block graph of order and , and are defined as earlier. Then
[TABLE]
In next result, we give a necessary and sufficient condition to achieve the lower bound for the hamiltonian chromatic number of block graphs given in Theorem 3.1.
Theorem 3.2**.**
Let be a block graph of order and , and are defined as earlier. Then
[TABLE]
holds if and only if there exists an ordering {} of the vertices of , with = 0, = when = 1 and = = 0 when , such that
[TABLE]
Moreover, under this condition the mapping defined by
[TABLE]
[TABLE]
is an optimal hamiltonian coloring of .
Proof 3.3**.**
Necessity: Suppose that (6) holds. Let be an optimal hamiltonian coloring of then induces an ordering of vertices say, . The span of is = = . Note that this is possible if equality holds in (2) together with (a) and = 0, = when = 1 and (b) = 0, = and when in (4). This turn the definition of hamiltonian coloring = to = 0 and = . The span of is right-hand side of (3.2) and hence is an optimal hamiltonian coloring.
Moreover, for any two vertices and (without loss of generality, assume ), summing the latter definition for index to , we have
[TABLE]
Now is a hamiltonian coloring so that . Substituting this in (10), we get
[TABLE]
Sufficiency: Suppose that an ordering {} of vertices of satisfies (7), and is defined by (8) and (9) together with = 0 and when = 1 and when . Note that it is enough to prove that is a hamiltonian coloring with span equal to the right-hand side of (6). Let and () be two arbitrary vertices then by (9) and using (7), we have
[TABLE]
hence is a hamiltonian coloring.
The span of is given by
[TABLE]
The following results gives sufficient condition with optimal hamiltonian coloring for the equality in (5).
Theorem 3.4**.**
Let be a block graph of order and, , and are defined as earlier. Then
[TABLE]
if there exists an ordering {, ,…,}* with 0 = of vertices of block graph such that*
- (a)
* = 0, = when = 1 and = = 0 when ,* 2. (b)
* and are in different branches when and opposite branches when ,* 3. (c)
, for .
Moreover, under these conditions the mapping defined by (8) and (9) is an optimal hamiltonian coloring of .
Proof 3.5**.**
Suppose (a), (b) and (c) hold for an ordering {, ,…,}* of the vertices of and is defined by (8) and (9). By Theorem 3.2, it is enough to prove that an ordering {, ,…,} satisfies condition (7).*
Let . Without loss of generality, we assume that and for simplicity let the right-hand side of (7) is . Note that as for . Hence, we have
[TABLE]
which completes the proof.
Theorem 3.6**.**
Let be a block graph of order , detour diameter and , and are defined as earlier. Then
[TABLE]
if there exists an ordering {, ,…,}* with 0 = of vertices of block graph such that*
- (a)
* = 0, = when =1 and = = 0 when ,* 2. (b)
* and are in different branches when and opposite branches when ,* 3. (c)
.
Moreover, under these conditions the mapping defined by (8) and (9) is an optimal hamiltonian coloring of .
Proof 3.7**.**
The proof is straight forward as , for any .
We say a block graph is star shaped block graph if there exist an ordering {} of vertices of such that and , are in different branches when and in opposite branches when unless one of them is central vertex. If max{ : } then a block graph is called a maximum detour distance bound or block graph. We denote a star shaped block graph with maximum detour distance bound by block graph. Then from Theorem 3.6 note that the hamiltonian chromatic number of any block graphs is equal to a lower bound given by right-hand side of (5). The following algorithm gives an optimal hamiltonian coloring of block graphs.
{algorithm}
An optimal hamiltonian coloring of block graphs.
Input: A block graph of order which is .
Idea: Find an ordering of vertices of block graph which satisfies Theorem 3.6 and coloring defined by (8)-(9) is a hamiltonian coloring whose span is right-hand side of (13).
Initialization: Start with a central vertex .
Iteration: Defined : as follows.
Step-1: Let = and such that the block for which is the smallest block attached to central vertex when = 1 and when .
Step-2: Choose and , where in different branches when = 1 and in opposite branches when . Continue this process till all the vertices get order. Note that such ordering is possible as is star shaped. Then the ordering {, ,…,} satisfies conditions of Theorem 3.6.
Step-3: Defines : {0,1,2,…} by = 0 and = .
Output: The span of is span() = = = .
4 Hamiltonian chromatic number of some block graphs
In this section, we determine the hamiltonian chromatic number of some block graphs using Theorem 3.1 to 3.6. We continue to use the terminology and notation defined in previous section.
4.1 hc(G) for level-wise regular block graphs
Let and , be positive integers. Setting = {} and = {}. If = {} then attach blocks of size to and then again attach blocks of size to each end vertices of previously attached blocks. Continuing in this way, finally attach blocks of size to each end vertices of previously attached blocks at step. We denote this block graph by . If = {} then attach blocks of size to each , and then again attach blocks of size to the end vertices of previously attached blocks. Continuing in this way, finally attach blocks of size to each end vertices of previously attached blocks at step. We denote this block graph by . The block graphs and are known as level-wise regular block graphs. Note that diam = and diam = . In our subsequent discussion for simplicity we denote by and by only. Notice that in the present work for we will not allow = 1 as in this case central vertex of block graph has one branch only.
Theorem 4.1**.**
Let and where be integers. Then
[TABLE]
and
[TABLE]
[TABLE]
Proof 4.2**.**
(1) For : The order and the total level of are given by
[TABLE]
[TABLE]
Substituting (16) and (17) into (5) gives the right-hand side of (14)
Now we give systematic ordering of vertices of such that it satisfies conditions of Theorem 3.4. Note that has a unique central vertex . Now denote the children of the by , ,…, such that any consecutive vertices are in different blocks with and are in the same block for . Denote the children of each by , ,…,, such that any consecutive vertices are in different blocks with and are in the same block for . Inductively, denote the children of () by where such that any consecutive vertices are in different blocks with and are in the same block for . Continue this until all vertices of are indexed in this way. We then rename the vertices of as follows:
Let = and for , let
,
where .
Note that is adjacent to and for , and are in different branches so that = 0. Moreover, for we have and hence above defined ordering {,,…,}* of vertices of satisfies conditions of Theorem 3.4. The hamiltonian coloring defined by (8) and (9) is an optimal hamiltonian coloring whose span is, span() = which is right-hand side of (14) using (16) and (17) in the present case.*
(2) For : The order and the total level of are given by
[TABLE]
[TABLE]
Substituting (18) and (19) into (5) gives the right-hand side of (15)
Now we give systematic ordering of vertices of such that it satisfies conditions of Theorem 3.4. Note that in this case has central vertices . Now denote the children of each by , ,…, such that any consecutive vertices are in different blocks with and are in the same block for . Denote the children of each by , ,…,, such that any consecutive vertices are in different blocks with and are in the same block for . Inductively, denote the children of () by where such that any consecutive vertices are in different blocks with and are in the same block for . Continue this until all vertices of are indexed in this way. We then rename these vertices as follows:
Let ,
where .
Define an ordering {} as follows. Let = and for , let
[TABLE]
For , let
[TABLE]
Note that , and and , are in opposite branches so that = 0 and = = . Moreover, for we have, and hence above defined ordering {,,…,}* of vertices of satisfies conditions of Theorem 3.4. The hamiltonian coloring defined by (8) and (9) is an optimal hamiltonian coloring whose span is span() = which is right-hand side of (15) using (18) and (19) in the present case.*
Note that a symmetric block graph, denoted by (or if diameter is ) is defined in [1] which is a block graph with at least two blocks such that all blocks are cliques of size , each cut vertex is exactly in blocks and the eccentricity of end vertices is same. Note that symmetric block graphs are level-wise regular block graphs by taking = , = = … = = and = = … = = in and . It is straight forward to verify that in this case, Theorem 4.1 becomes [1, Theorem 7] stated as follows.
Theorem 4.3**.**
Let , , be integers, = and = . Then
[TABLE]
It is interesting that are stars , are one point union of complete graphs (a one point union of complete graphs, also denoted by , is a graph obtained by taking as a common vertex such that any two copies of are edge disjoint and do not have any vertex common except ), are paths and are symmetric trees (see [11]). The hamiltonian chromatic number of stars is reported by Chartrand et al. in [6]. The hamiltonian chromatic number of is investigated by Bantva in [1]. The hamiltonian chromatic number of paths which is equal to the antipodal radio number of paths given by Khennoufa and Togni in [9] and the hamiltonian chromatic number of symmetric trees is investigated by Bantva in [1].
4.2 hc(G) for extended stars of blocks
An extended star, denoted by , is a tree obtained by identifying one end vertex of each copies of path of length . An extended star of blocks, denoted by , is a block graph obtain by replacing each edge in by complete graph .
Theorem 4.4**.**
Let and be integers. Then
[TABLE]
Proof 4.5**.**
The order and the total detour level of are given by
[TABLE]
[TABLE]
Substituting (24) and (25) into (5) gives the right-hand side of (23). We now prove that the right-hand side of (23) is the actual value for the hamiltonian chromatic number of extended star of blocks. Note that for this purpose it is enough to give an ordering of vertices of extended star of block which satisfies conditions of Theorem 3.4.
Let be the common vertex of all branches and , is the vertex at distance from central vertex in branch. Without loss of generality, we assume that , are cut vertices then, to facilitate hamiltonian coloring we find a linear order {,,…,}* of vertices as follows: We first set = and = . Next, for , , we consider the following cases.*
Case-1: is odd. In this case, if is odd, then for odd , let ,
[TABLE]
and for even , let ,
[TABLE]
If is even then, for odd , let ,
[TABLE]
and for even , let ,
[TABLE]
Case-2: is even. In this case, let ,
[TABLE]
Then above defined ordering {,,…,}* of vertices satisfies Theorem 3.4. The hamiltonian coloring defined by (8) and (9) is an optimal hamiltonian coloring. The span of is span() = = which is exactly the right-hand side of (23) by using (24) and (25) in the present case of extended star of blocks which completes the proof.*
4.3 hc(G) and graph operation
The next result explain how to construct a larger block graph for which Theorem 3.2 holds using graph operation from given graphs satisfying Theorem 3.2.
Let are block graphs of order and = {} respectively, where = . We define to be the block graph obtained by identifying a central vertex of each to a single vertex . It is clear that = {}. The order of is = and = min{ : = 1,2,…,}.
Theorem 4.6**.**
Let are block graphs of order and = {}, for which Theorem 3.2 hold then so is for and
[TABLE]
Proof 4.7**.**
The order and the total level of are given by
[TABLE]
[TABLE]
Substituting (32) and (33) into (5) gives the right-hand side of (31).
*Now we give an ordering of vertices of which satisfies conditions of Theorem 3.2. Without loss of generality, we assume that the smallest block attached to lies in . Let be the ordering of vertices of , () which satisfies conditions of Theorem 3.2. Let = and = then and = . For all other , , let
, where , , and = 0.
*Then note that and are in different branches for .
Claim: The ordering {} satisfies (7).
Let and , be two arbitrary vertices. We consider the following two cases.
Case-1: for some .
If for some then by definition of ordering = and = . Note that = and = . Moreover, and it is obvious that . Let the right-hand side of (7) is then
[TABLE]
*Case-2: and for some .
If and for some then by definition of ordering = . Let = max*{* : }. Let the right-hand side of (7) is then*
[TABLE]
Thus, from Case 1 and 2, we obtained an ordering {} satisfies (7). Hence the hamiltonian coloring defined by (8) and (9) is an optimal hamiltonian coloring. The hamiltonian chromatic number of is given by
[TABLE]
5 Conclusion
In this paper, we presented a necessary and sufficient condition together with an optimal hamiltonian coloring to achieve a lower bound for the hamiltonian chromatic number of block graphs given in [1, Theorem 1]. Note that our necessary and sufficient condition deals only with an ordering of vertices without assigning actual colors (non-negative integers) to vertices which is useful to determine whether certain block graphs has the hamiltonian chromatic number is equal to a lower bound given in [1, Theorem 1] or not. We also gave two other sufficient conditions to achieve this lower bound. We presented an algorithm for the hamiltonian chromatic number of a special class of block graphs, namely . We also determined the hamiltonian chromatic number of level-wise regular block graphs which is more general case than symmetric block graph (given in [1]) and extended star of blocks using our main Theorem 3.2. Further, readers are suggested to find more classes of block graphs for which Theorem 3.2 hold.
Acknowledgements
The author is grateful to anonymous referee for their valuable comments and suggestions which improved the paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] D. Bantva, On Hamiltonian Colorings of Block graphs, In: Kaykobad, M., Petrechi, R., (eds.) WALCOM: Algorithms and Computation, LNCS: 9627, 28-39, 2016.
- 2[2] D. Bantva, On Hamiltonian Colorings of Trees, In: Govindrajan, S., Maheshwari, A.,(eds.) Algorithms and Discrete Applied Mthematics, CALDAM 2016, LNCS: 9602, 49-60, 2016.
- 3[3] D. Bantva and S. Vaidya and S. Zhou, Radio number of trees, Electron. Notes in Discrete Math., 48, 135-141, 2015.
- 4[4] D. Bantva and S. Vaidya and S. Zhou, Radio number of trees, Discrete Applied Math., 217, 110-121, 2017.
- 5[5] G. Chartrand and D. Erwin and P. Zhang, A graph labeling problem suggested by FM channel restrictions, Bull. Inst. Combin. Appl., 43, 43-57, 2005.
- 6[6] G. Chartrand and H. Escuadro and P. Zhang, Detour distance in graphs, J. Combin. Math. Combin. Comput., 53, 75-94, 2005.
- 7[7] G. Chartrand and L. Nebesk y ´ ´ 𝑦 \acute{y} and P. Zhang, Hamiltonian coloring of graphs, Discrete Applied Math., 146, 257-272, 2005.
- 8[8] G. Chartrand and L. Nebesk y ´ ´ 𝑦 \acute{y} and P. Zhang, On hamiltonian colorings of graphs, Discrete Math., 290, 133-143, 2005.
