Distance-Based Topological Descriptors on Ternary Hypertree Networks
Abstract
Topological indices are numeric parameters which portray the topology of a subatomic structure. In QSAR/QSPR analysis, topological descriptors play a vital role to examine the topology of a network. An interconnection network is a structure whose components are connected physically according to some pattern. In this paper, an interconnection network, ternary hypertree, which is a structural combination of complete ternary tree and hypertree, is introduced. We have evaluated the topological descriptors grounded on the distances for the ternary hypertree. The analytical expressions for Wiener, different types of Szeged, and Mostar indices are determined.
1. Introduction
A connected graph having order n and size n − 1 is termed as a tree that contains no cycle. In computer science, trees are designed as data structures. Trees are helpful to store data information in a hierarchical manner and provide insertion and deletion of data. They are also useful in manipulating hierarchical data, making it easy to search information and aid in multistage decision making. One of the basic tree structures which have many applications in the field of computer science is the rooted tree [1, 2]. Rooted tree is a tree that has a root node from where the children arise. The root node is called the parent node [3, 4]. A binary tree is a rooted tree in which every vertex has at the most two children and each child of a vertex is assigned as its left child or right child [5]. A complete binary tree is a rooted tree in which every node has two children-a right child and a left child. Ternary tree which has at the most three children 3x − 1,3x, 3x + 1, where x ∈ ℤ is a root node, is a rooted tree. Ternary tree is introduced by Barning, a Dutch mathematician in Reference [6]. It is a tool for the ternary search tree which can be used in spell check and as a database when indexing several nonkey fields. In a complete ternary tree, every node has exactly three children.
Hypertree of dimension n is a basic skeleton of complete binary tree, i.e., the vertex x has exactly two children 2x and 2x + 1, where x ∈ 2n−1 − 1, and the vertices on the same level are connected by a horizontal edge with a label difference of 2i−2; 2 ≤ i ≤ n. The hypertree is an interconnection network which has minimum average distance which results in an efficient multicomputer system [7]. It has an excellent combination of characteristics of the hypercube and the binary tree. Recursive hypertrees are modelled as biological networks such as dendrimers [8–10]. The branching of biological networks is not restricted to two branches. With this motivation, we introduce the concept of ternary hypertree. Ternary hypertrees can be modelled as biological networks for protein interactions and to analyze the spread of diseases.
The structure of the ternary hypertree is a combination of a complete ternary tree and hypertree. It is a spanning subgraph of the complete ternary tree. We denote ternary hypertree with dimension n as THT(n).
The level of root node is 1. The root node gives rise to three children, which is at level 2. We label the root node as 1 and their children as 2,3,4. Likewise, if the node is labelled as x; then, the children are labelled as 3x − 1,3x, 3x + 1 where x ∈ [3n−1 − 1/2]. At each level i; 1 ≤ i ≤ n of the ternary hypertree of dimension n has 3i−1 nodes. For a ternary hypertree of dimension n, the network has n levels. There are horizontal edges in the level i, 2 ≤ i ≤ n connecting the nodes with a label difference of 3i−2 along the complete ternary tree structure. See Figure 1.

Ternary hypertree consists of (3n − 1/2) nodes and (3n − 3) edges. The vertex connectivity is 4 and edge connectivity is 3. Ternary hypertree of dimension n has a diameter of 2n − 3. Also, it is not a regular network. THT(n); n ≥ 3 is nonplanar, i.e., it cannot be embedded in a plane and non-Hamiltonian where every vertex can be visited more than once.
Real-life problems can be converted to graphical representations using mathematical modelling, especially in the field of biology [11–14]. Networks helps in analysing various health problems by modelling the spread of diseases [15–17]. Topological indices are numeric invariants showing a correlation between the subatomic structure and its physical (as well as chemical) properties [18, 19]. Thus, it characterises the topology of a graph [20, 21]. Topological indices analyse the physical, chemical, and biological characteristics of a synthetic framework [22, 23]. Topological indices are essential in the field of chemistry and pharmacology, notably in nanomedicine. It helps in the study of the properties of networks. These descriptors are used in measuring irregularity, connectivity, centrality, and peripherality in networks [24]. Topological indices for various networks have been studied in recent years [25–28].
Computing the topological indices helps in anatomising the properties of the biological network. In the next section, we have discussed some terminologies and two types of topological descriptors (distance-based and degree-based descriptors) of the ternary hypertree are derived and are graphically represented. Section 3 concludes the paper with discussion on the possible applications of ternary hypertree.
2. Topological Indices
We denote the cardinality of and as and , respectively.
We refer to References [32–34] for the distance-based topological indices. The formulas of these indices for strength-weighted graph are given in Table 1 and the degree-based formulas of topological indices of graph Ω are illustrated in Table 2.
In this paper, we consider .
If the distance of any two vertices in ℋ, a subgraph of a graph of Ω, lies in the same subgraph, then the subgraph ℋ is called convex. For Ω, Djoković-Winkler’s relation Θ on E(Ω), References [41, 42] can be expressed as follows: if , then is Θ related with . Θ is an equivalence relation in case of partial cubes. Θ partitioned E(Ω) into convex cuts. Θ∗ (a transitive closure) is an equivalence relation. The edges partition into Θ∗ classes and let {Fi; 1 ≤ i ≤ k} is the Θ∗ partition set of E(Ω). Using Θ∗ relation, we can find the topological indices of any graph [31, 40, 43–45]. For any i ∈ [k], the quotient Ω/Fi graph in which vertex set belongs to the components of Ω − Fi and are adjacent in Ω/Fi if , where , and where C1, C2 are components. A partition X = {X1, X2, …, Xr} of E(Ω) is coarser than Y = {Y1, Y2, …, Ys} if Xi is the union of one or more sets in Y. To study about the Wiener index, see References [46–48]. We have used Theorem 2.1 and the technique in Reference [48], reduction of original graph Ω into quotient graphs and further into reduced graphs, to compute the Wiener index of ternary hypertree. To compute other distance-based topological indices of ternary hypertree, we use Theorem 1.
Theorem 1. References [49, 50]. “For a connected strength-weighted graph Gsw = (G, (wv, sv), se), let E = E1, E2, …, Ek be a partition of E(G) coarser than F. Let X = W, Szv, Sze, Szev, Mo, Moe, Mot, PI. Then,
-
is defined by ,
-
is defined by ,
-
is defined as the number of edges in Ei such that one end in C and the other end in D, for any two connected components C and D of (G/Ei).
Theorem 2. If n ≥ 2 , then
- (1)
- (2)
Sz(THT(n)) = (33n−2 − 19 × 32n + 30 × 3nn − 5 × 3n + 6 × 32nn + 39/8)
- (3)
Sze(THT(n)) = 33n/18 − 11 × 32n + 18 × 3nn + 9 × 3n + 32n+1n − 33/2
- (4)
Szev(THT(n)) = 33n/36 − 41 × 32n/8 + 33 × 3nn/4 + 7 × 3n/8 + 32n+1n/2 + 15/2
- (5)
PI(THT(n)) = 5 × 32n/12 − 3 × 3n + 21/4
- (6)
Mo(THT(n)) = 32n/4 − 3n+1n + 11 × 3n/2 − 63/4
- (7)
Moe(THT(n)) = 32n/2 − 6 × 3nn + 12 × 3n − 81/2
- (8)
Mot(THT(n)) = 3 × 32n/4 − 9 × 3nn + 35 × 3n/2 − 225/4
Proof. For a ternary hypertree of dimension n, there are (3n−1 − 1/2 + 1)Θ∗ classes. The Θ classes are as follows:
- (1)
For 2 ≤ i ≤ n − 1, j = [3−1+i], k = [3], let be the Θ∗− classes containing the edges (3i−1 − 1/2 + ⌈j/3⌉ + (k − 1)3i−2, 3i − 1/2 + j + (k − 1)3i−1).
- (2)
Let S = S1∪S2 be the Θ∗− classes, which consist of the horizontal edges and the edges connecting the first and second level. It comprises of S1 = {(1,2), (1,4), ((3i−1 − 1/2) + j, (j + 3i−1 − 1/2) + 3−2+i), ((3i−1/2) + j, (j + 3i−1 − 1/2) + 2 × 3−2+i), ((j + 3i−1 − 1/2) + 3−2+i, j + 3i−1 − 1/2 + 2 × 3−2+i) : i = [n − 1], j = {1,3}} and S2 = {((3i−1 − 1/2) + j, (3i−1 − 1/2) + j + 3i−2), ((3i−1/2) + j, (j + 3i−1 − 1/2) + 3i−2 × 2), ((3i−1 − 1/2) + j + 3i−2, (j + 3i−1 − 1/2) + 3−2+i × 2) : i = [n − 1], j = 2}.
Let Fi, i = [n − 1] be the partition which is coarser than the Θ∗ classes. Define F1 = S and Fi, 2 ≤ i ≤ n − 1 be the edges joining the levels i and i + 1, i.e., .
In general, THT(n)/Fi is isomorphic to . In , one vertex is of weight (3n−i − 1/2) and edge weight 3n−i − 3 and other 3n−i−1 vertices with vertex and edge weight (3(3i − 1)/2) and 3i+1 − 6, respectively. We can see that GHT(n)/Fn−1 and K4 are isomorphic, with vertex and edge weights 1 and 0 for one vertex and (3n−1 − 1/2) and (3n−1 − 1/2) for the remaining adjacent vertices as shown in Figure 2. Figures 3, 4, and 5 give an example for the quotient graph.
Now, W(THT(n)) is calculated as follows:
The edge-Szeged index of ternary hypertree of dimension n is as follows:
The edge-vertex Szeged index is as follows:
The Padmakar Ivan index is as follows:
The Mostar index of ternary hypertree is as follows:
The graphical comparison of numerical values of distance-based indices of THT(n) is given in Figure 6.











Theorem 3. For n ≥ 2,
- (1)
M1(THT(n)) = 3n+2 − 45
- (2)
M2(THT(n)) = 7 × 3n+1 − 162
- (3)
R(THT(n)) = 0.2357(3n−1 + 3) + 2 × 3n−2 − 2
- (4)
ABC(THT(n)) = 0.6236(3n−1 + 3) + 0.6667 × 3n−1 + 0.5270 × (3n−1 − 6)
- (5)
SC(THT(n)) = 1 + 3n−2 + 0.4082 × 3n−1 + 0.2887(3n−1 − 6)
- (6)
GA(THT(n)) = 2.828 + 2 × 3n−1 − 6
Proof. Ternary hypertree has (3n − 3) edges. We divide the edges according to its degrees on either vertex, which is given in Table 1. We denote Fmn as the set of edges such that and .
M1(THT(n)) is calculated as follows:
M2(THT(n)) is calculated as follows:
Randic index of THT(n) is calculated as follows:
ABC(THT(n)) is calculated as follows:
SC(THT(n)) is calculated as follows:
The geometric arithmetic index of THT(n) is as follows:
The graphical comparison of numerical comparison of degree-based indices is given in Figure 7.
No: Of edges | |
---|---|
(3,3) | 3n−1 |
(6,3) | 3n−1 + 3 |
(6,6) | 3n−1 − 6 |

3. Conclusion
Hypertree has many chemical applications such as in recursive molecular networks, for example, dendrimers [51]. Also, the topological indices for hypertree are used in the prognosis of physical (as well as chemical) properties of the complex network of molecular and material systems when there are substantial atoms [10, 52–54]. In this article, we have introduced a ternary hypertree, an interconnection network, and evaluated some distance-based and degree-based topological indices of the ternary hypertree. The topological indices of the ternary hypertree may help in determining the chemical properties of complex molecular networks. It can be used to obtain irregularity measures, connectivity measures, centrality measures, and peripherality measures of the ternary hypertree. The degree-based topological indices can help in the study of bioactivity of the ternary hypertree. In future, we can model networks by considering the spread of different viruses and can study their properties. We can also determine the entropy of ternary hypertree in order to analyse data complexity and transmission of information. Also, eccentricity-based topological indices, which help in analysing the toxicological properties, and various topological indices based on different constraints can also be computed. [55].
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Authors’ Contributions
All authors contributed equally to this work.
Acknowledgments
This research work was supported by 1 Anhui Teaching Demonstration Course: Data Structure (NO. 2020SJJXSFK1291). 2 Quality Engineering in Anhui Province: Exploration of Data Structure Curriculum Reform Towards Engineering Education Certification under the Background of New Engineering (NO. 2020jyxm0793). 3 Research Team of Anhui Xinhua University: Machine Learning and Image Processing Research Team (NO. kytd201902).
Open Research
Data Availability
The data used to support the study are cited within the text as references.