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 and size 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 , where 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 is a basic skeleton of complete binary tree, i.e., the vertex has exactly two children and , where , and the vertices on the same level are connected by a horizontal edge with a label difference of . 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 [810]. 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 as .

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 . Likewise, if the node is labelled as ; then, the children are labelled as where . At each level of the ternary hypertree of dimension has nodes. For a ternary hypertree of dimension , the network has levels. There are horizontal edges in the level connecting the nodes with a label difference of along the complete ternary tree structure. See Figure 1.

Ternary hypertree consists of nodes and edges. The vertex connectivity is 4 and edge connectivity is 3. Ternary hypertree of dimension has a diameter of . Also, it is not a regular network. 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 [1114]. Networks helps in analysing various health problems by modelling the spread of diseases [1517]. 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 [2528].

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

The graph considered in the paper is a simple connected graph. is used to represent the distance between and and is the length of the shortest path connecting the vertices, and . For , we represent . The cardinality of collection of adjacent vertices of is termed as the degree of a vertex , it is denoted by [29, 30]. Neighbourhood of a vertex, is represented by and is defined as follows:and

We denote the cardinality of and as and , respectively.

Let be the vertex weight and vertex strength and let be the edge weight and edge strength. The notion of strength-weighted graph , where , was introduced in Reference [31]. For strength-weighted graph , the degree of any vertex is . For , we define

We refer to References [3234] 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 , References [41, 42] can be expressed as follows: if , then is related with . is an equivalence relation in case of partial cubes. partitioned into convex cuts. (a transitive closure) is an equivalence relation. The edges partition into classes and let is the partition set of . Using relation, we can find the topological indices of any graph [31, 40, 4345]. For any , the quotient graph in which vertex set belongs to the components of and are adjacent in if , where , and where are components. A partition of is coarser than if is the union of one or more sets in . To study about the Wiener index, see References [4648]. 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, letbe a partition ofcoarser than. Let. Then,whereis defined by,is defined by,is defined as the number of edges insuch that one end inand the other end in, for any two connected componentsandof.

Theorem 2. If , then(1)(2)(3)(4)(5)(6)(7)(8)

Proof. For a ternary hypertree of dimension , there are classes. The classes are as follows:(1)For , let be the classes containing the edges .(2)Let be the classes, which consist of the horizontal edges and the edges connecting the first and second level. It comprises of and .Let be the partition which is coarser than the classes. Define and be the edges joining the levels and , i.e., .
In general, is isomorphic to . In , one vertex is of weight and edge weight and other vertices with vertex and edge weight and , respectively. We can see that and are isomorphic, with vertex and edge weights 1 and 0 for one vertex and and for the remaining adjacent vertices as shown in Figure 2. Figures 3, 4, and 5 give an example for the quotient graph.
Now, is calculated as follows: is calculated as follows:The edge-Szeged index of ternary hypertree of dimension 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 is given in Figure 6.

Theorem 3. For ,(1)(2)(3)(4)(5)(6)

Proof. Ternary hypertree has edges. We divide the edges according to its degrees on either vertex, which is given in Table 1. We denote as the set of edges such that and .
is calculated as follows: is calculated as follows:Randic index of is calculated as follows: is calculated as follows: is calculated as follows:The geometric arithmetic index of is as follows:The graphical comparison of numerical comparison of degree-based indices is given in Figure 7.

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, 5254]. 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].

Data Availability

The data used to support the study are cited within the text as references.

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).