Linear algorithms on Steiner domination of trees
Yueming Shen, Chengye Zhao, Chenglin Gao, Yunfang Tang

TL;DR
This paper introduces a linear-time algorithm for finding the minimum Steiner dominating set in trees, advancing the efficiency of solving this graph domination problem.
Contribution
It presents the first linear algorithm specifically designed for computing the Steiner domination number in trees, improving computational efficiency.
Findings
The algorithm computes minimum Steiner dominating sets in linear time.
It demonstrates improved efficiency over previous methods.
The approach is applicable to various tree structures.
Abstract
A set of vertices in a connected graph is called a Steiner dominating set if is both Steiner and dominating set. The Steiner domination number is the minimum cardinality of a Steiner dominating set of . A linear algorithm is proposed in this paper for finding a minimum Steiner dominating set for a tree .
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.
Taxonomy
TopicsAdvanced Graph Theory Research · Complexity and Algorithms in Graphs · Limits and Structures in Graph Theory
Linear algorithms on Steiner domination of trees111The research is
supported by Natural Science Foundation of China (No.61173002,11701543).
Yueming Shen
Chengye Zhao
Chenglin Gao
Yunfang Tang
Science of Economics and Management,China Jiliang University,Hangzhou,China
Science of College,China Jiliang University,Hangzhou,China
Abstract
A set of vertices in a connected graph is called a Steiner dominating set if is both Steiner and dominating set. The Steiner domination number is the minimum cardinality of a Steiner dominating set of . A linear algorithm is proposed in this paper for finding a minimum Steiner dominating set for a tree .
keywords:
linear algorithm , Steiner dominating set , Steiner domination number
††journal: Discrete Applied Mathematics
1 Introduction
In this paper, we only consider finite, connected and undirected graph . We refer to the books [1, 2] for notation and terminology on graph theory and theory of domination.
Let be a graph with the order of vertex set and the order of edge set . The open neighborhood and the closed neighborhood of a vertex are denoted by and , respectively. For a vertex set , , and . The distance between two vertices and of a connected graph is the length of shortest path in . For a non-empty set of vertices in connected graph , the Steiner distance of is the minimum size of a connected subgraph of containing . Obviously, each such subgraph is a tree and is called a Steiner tree or a Steiner -tree. The set of all vertices of that lie on some Steiner -tree is denoted by . If then is called Steiner set of . The Steiner number is the minimum cardinality of a Steiner set.
Chartrand and Zhang introduced the concept of Steiner number of a connected graph in [3]. Pelayo corrected main result in [4]. He proved that not all Steiner sets are geodetic sets and there are connected graphs whose Steiner number is strictly lower than their geodetic number. Hernando et al. [5] have studied the relationships between Steiner sets and geodetic sets and between Steiner sets and monophonic sets. Many results on Steiner distance were given in [6, 7].
A subset of V(G) is called dominating set if every vertex is either a vertex of or is adjacent to a vertex of . The domination number is the minimum cardinality of minimal dominating set of . A systematic visit of each vertex of a tree is called a tree traversal. A set of vertices in a connected graph is called a Steiner dominating set if is both Steiner and dominating set. The Steiner domination number is the minimum cardinality of a Steiner dominating set of .
The concept of Steiner domination was introduced in [8], and Vaidya etc. have obtained various results on Steiner domination numbers in [9, 10, 11].
The most algorithmic complexity of domination and related parameters of graphs are NP-complete or NP-hard problems. But there are many linear algorithms for domination and related parameters in trees, such as domination, total domination and secure domination in trees [12, 13, 14]. In this paper, we present a linear algorithm of Steiner domination in trees. It is similar to an algorithm due to Mitchell, Cockayne and Hedetniemi [15] for computing the domination number of an arbitrary tree.
2 Lemmas
A vertex of a graph is called a leaf or end-vertex if it is adjacent to only one vertex in . A vertex is an extreme vertex if the subgraph induced by its neighbors is complete. Thus, every end-vertex is an extreme vertex.
** Lemma 2.1**
[3]** Each extreme vertex of a graph G belongs to every Steiner set of G. In particular, each end-vertex of G belongs to every Steiner set of G.
The following corollary is an immediate consequence of Lemma 2.1.
** Corollary 2.2**
[3]** Every nontrivial tree with exactly k end-vertices has Steiner number k.
By Corollary 2.2 and Lemma 2.1, we have
** Corollary 2.3**
Let L(T) include all end-vertices of a tree T, then L(T) is a Steiner set of T.
Let be the induced subgraph of from the set . We have,
** Theorem 2.4**
For any nontrivial tree T, .
Proof. Let be a minimum dominating set of and . By Corollary 2.3, L(T) is a Steiner set of T. Hence the set is a Steiner dominating set of T and .
Nextly, we prove . By contradiction, let and there is a -set such that . By Lemma 2.1, L(T) is a subset of each minimum Steiner set of . Let . By the definition of , is a minimum dominating set of such , it is a contradiction.
3 Linear algorithm for Forest Domination
In this section, we construct a linear algorithms for domination in forest. The algorithms is based on the algorithm for computing the domination number of an arbitrary tree by Mitchell, Cockayne and Hedetniemi [15].
By Theorem 2.4, the minimum Steinier dominating set of a tree is divided two subsets: and the -set of subgraph of .
By the definition of , is a tree or a forest. So the algorithm in [15] has to be changed for computing the domination number of a forest. Algorithm 1 for domination of a forest , and each tree in is rooted. Two linear arrays are maintained during this traversal process:
Parent[]:contains the index of the parent of vertex in a forest ; in the Parent array, that the Parent of a vertex labelled is given by Parent[], and Parent[]=0 if vertex is the root of a tree in ; for any vertex labelled in , Parent[].
Label[]:contains three states:’Bound’,’Required’ and ’Free’; the usage of Label array is similar to the algorithm in [15].
Compared with the algorithm in [15], we add the condition that Parent[] 0. This condition ensures that we construct the dominating set of each tree in by Algorithm 1 and get the minimum dominating set of a forest .
** Theorem 3.1**
(Complexity of Algorithm 1). If the input forest to Algorithm 1 has order n, then both the space complexity and the worst-case time complexity of Algorithm 1 are O(n).
Proof. Setp 1 can be performed in O(1) time. Steps 2-3, 4-11, 12-14 are three for-loops, and each operation in these loops can be performed in O(1) time. So the total operation time is .
A total of memory units are required to store the array Label,Parent and the set . Two memory units are required to store the values of the variables and . The space complexity of Algorithm 1 is therefore .
4 Linear algorithm for Tree Steiner Domination
In this section, we construct a linear algorithms for Steiner domination in a tree. By Theorem 2.4, the definition of and Algorithm 1, we only consider the structures of and . Five linear arrays are maintained during this traversal process:
Parent[]:contains the index of the parent of vertex in tree ; in the Parent array, that the Parent of a vertex labelled is given by Parent[], and Parent[]=0 if vertex is the root of ; for any vertex labelled in , Parent[].
Flag[]:Flag[]=0 if the vertex is a end-vertex of , else Flag[]=1.
PFlag[]:PFlag[]=1 if the vertex is adjacent to a end-vertex of , else PFlag[]=0.
Index[]:contains the index in of the vertex in .
NParent[]:contains the index of the parent of vertex in a forest ; in the Parent array, that the Parent of a vertex labelled is given by Parent[], and Parent[]=0 if vertex is the root of a tree in ; for any vertex labelled in , Parent[].
By the steps 1-23 in Algorithm 2, we get (the end-vertex set of ) and NParent array of . We obtain the -set of by the step 24 in Algorithm 2 (Nparent array as a input of Algorithm 1). Finally, we have a minimum Steiner dominating set of tree by the step 25 in Algorithm 2.
We conclude this section with a result on the space and time complexities of Algorithm 2.
** Theorem 4.1**
(Complexity of Algorithm 2). If the input tree to Algorithm 2 has order n, then both the space complexity and the worst-case time complexity of Algorithm 2 are O(n).
Proof. Setps 1 and 25 can be performed in O(1) time. Steps 2-4, 5-7, 8-10, 11-18, 19-23 are five for-loops, and each operation in these loops can be performed in O(1) time. So the total operation time of these loops is . The operation time in step 24 is by Theorem 3.1. So the total operation time is .
A total of memory units are required to store the array Label, Parent, NParent, Flag, PFlage, Index, the set and . Three memory units are required to store the values of the variables , and . The space complexity of Algorithm 2 is therefore .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] D. B. West, Introduction to Graph Theory, 2e, Prentice - Hall of India, New Delhi, (2003).
- 2[2] T. W. Haynes, S. T. Hedetniemi and P. J. Slater , Funda-mentals of Domination in Graphs, Marcel Dekker, New York, (1998).
- 3[3] G. Chartrand and P. Zhang, The Steiner Number of a Graph, Discrete Mathematics. 242(2002)41-54.
- 4[4] I. M. Pelayo, Comment on The Steiner Number of a Graph by G. Chartrand and P. Zhang Discrete Mathematics 242, (2002), 41 - 54; Discrete Mathematics. 280(2004) 259 - 263.
- 5[5] C. Hernando, T. Jiang, M. Mora, I. M. Pelayo and C. Seara, On the Steiner, Geodetic and Hull Number of Graphs, Discrete Mathematics. 293(2005)139 - 154.
- 6[6] G. Chartrand, O. R. Oellermann, S. Tian and H. B. Zou, Steiner Distance in Graphs, Casopis Pro. Pest. Mat. 114(1989)399 - 410.
- 7[7] A. P. Santhakumaran and J. John, The Forcing Steiner Number of a Graph, Discussion Mathematicae Graph Theory. 31(2011)171 - 181.
- 8[8] J. John, G. Edwin and P. Arul Paul Sudhahar, The Steiner Domination Number of a Graph, International Journal of Mathematics and Computer Application Research. 3(3)(2013)37 - 42.
