• Tidak ada hasil yang ditemukan

HAMMING INDEX OF THORN AND DOUBLE GRAPHS

N/A
N/A
Protected

Academic year: 2018

Membagikan "HAMMING INDEX OF THORN AND DOUBLE GRAPHS"

Copied!
8
0
0

Teks penuh

(1)

HAMMING INDEX OF THORN AND DOUBLE

GRAPHS

Revi Pasaribu, Mardiningsih and Saib Suwilo

Abstract. Hamming distance between two bit strings u and v is defined to be

the number of position with different digit. Let G be a graph with vertex set V ={v1, v2, . . . , vn}andAbe an adjacency matrix ofG. Then each row ofAis

a bit string of lengthn. Hamming distance between two verticesvi and vj is the Hamming distance ofith and jth rows of A. We discuss the Hamming distance and the sum of Hamming distances of vertices for some composite graphs.

Keywords: Hamming distance, Hamming index, thorn graphs, doble graphs.

1. INTRODUCTION

Let K ={0,1} and Kn = K×K× · · · ×K be a group with binary operation

x⊕2y=x+ymod 2

for all x, y ∈ Kn. Each x ∈ Kn is called a binary word of length n. For

x∈Knthe weight of x, denoted by wt(x), is the number of times of digit 1 appears inx. Letx=x1x2· · ·xnandy =y1y2· · ·ynbe two binary words in

Kn wherexi= 0,1 andyi = 0,1 for i= 1,2, . . . , n. The Hamming distance

between x and y, denoted by Hd(x, y), is the number of position i where

Received 19-02-2018, Accepted 27-03-2018.

2016 Mathematics Subject Classification: 05C12, 97K30

Key words and Phrases: Hamming distance, Hamming index, composite graph, thorn graph

(2)

xi 6= yi. The Hamming distance between x and y can also be defined by

Hd(x, y) = wt(x⊕2y) [1].

LetG(V, E) be a finite simple graph onnvertices{v1, v2, . . . , vn}and

m edges. The vertex vi is adjacent to vj if there is an edge connecting vi

and vj. The neighbor of a vertex vi in G, denoted by N(vi :G), is the set

of all vertices adjacent to vi. The degree of a vertex vi in G, denoted by

deg(vi : G), is the number of vertex in N(vi : G). For a pair of distinct

vertices vi and vj in G the common neighbor of vi and vj, denoted by

N(vi, vj :G) is the set of all vertices adjacent to both vi and vj. We note

that P

vi∈V(G)deg(vi:G) = 2m [2].

One derivation of binary words is the adjacency matrix of a graphG,

i.e., then byn (0,1) matrix A= (aij) defined by

aij = (

1, ifvi adjacent to vj

0, otherwise,

By considering the adjacency matrixAofG, the Hamming distance between

two vertices ofGcan be defined as follows. LetAbe an adjacency matrix of

the graphGand letA(i,:) denote the ithrow of A. The Hamming distance betweenvi and vj inG, denoted byHd(vi, vj), is defined to be

Hd(vi, vj) = Hd(A(i,:), A(j,:)

= wt(A(i,:)⊕2A(j,:)).

Imitating the Wiener index of graph as the sum of distances between two vertices, the Haming index of a graphG, denoted byH(G), is defined to be

H(G) =P

vi,vj∈V(G),i=6 jHd(vi, vj).[5, 6]

Research on Hamming distance and Hamming index of a graph G

based on its adjacency matrix can be found in [5, 6]. In [5], Ganagi and Ramane show a formula for Hamming distance in terms of the size of the graph and neighbors of the vertices. In [5, 6], the Hamming index of some classes of graphs such as complete graph, regular graph, union and joint of graph have been found.

In this paper, we present a formula for Hamming distance between two vertices in terms of their degrees and neighbors. Based on this formula we then discuss the Hamming index of thorn graphs and double graphs.

2. HAMMING DISTANCE BETWEEN VERTICES

(3)

for Hamming distance between two vertices. They provided a formula of Hamming distance that depends on the size of the graph, and the number of neighbor vertices. We present a formulation of Hamming distance that depends on the degree of each vertex and their common neighbor.

Theorem 2.1 Let G be a graph on n vertices v1, v2, . . . , vn. Let vi and

vj be two vertices in G with k common neighborhood. Then Hd(vi, vj) =

deg(vi) + deg(vj)−2|N(vi, vj :G)|.

Proof. We note that deg(vi) the number of 1 ins(vi). Sincevi and vj have

k common neighborhoods, thenA(i,:) andA(j,:) has exactly N(vi, vj :G)

ones that lie on the same positions. This implies

Hd(vi, vj) = wt(A(i,:)⊕2A(j,:))

= wt(A(i,:)) + wtwt(A(j,:))−2|N(vi, vj :G)|

= deg(vi) + deg(vj)−2|N(vi, vj :G)|.

3. HAMMING INDEX

In this section we discuss the Hamning index of some classes of com-posite graphs, especially, the thorn graphs and the double graphs.

LetG be a connected graph on n vertices{v1, v2, . . . , vn}. The thorn

graph G∗n with parameter (p1, p2, . . . , pn) is the graph obtained form G by

inserting pi pendant vertices to vi for each i = 1,2, . . . , n [3]. We note

that the vertex set of the thorn graphG∗n can be partitioned into V(G∗n) =

V(G)∪V(G) such that

V(G) =V1∪V2∪. . .∪Vn

where

Vi={uj ∈V(G) :uj ∈N(vi :G∗n)}.

Theorem 3.2 Let G be a connected graph on nvertices and let G∗n be the thorn graph of G with parameter(p1, p2, . . . , pn). Then

H(G∗n) =H(G) + 2mn−4m+n2+ (2n−1)X

i

pi+ 2 X

i6=j

(4)
(5)
(6)

G∗n)−2|N(ui, uj :G∗n)|= 1 + 1−0 = 2. Therefore, we now have

We now discuss the Hamming index of a double graph. Let G be a

connected graph with vertex set V(G) = {v1, v2, . . . , vn}. A double graph

(7)
(8)

From (7), (8), (9), and (10) for a connected grapGthe Hamming index of double graph G∗ is H(G∗) = 8H(G).

REFERENCES

1. D.C. Hankerson, G. Hoffman, D.A. Leonard, Charles C. Lindner, K.T.

Phelps, C.A. Rodger, J.R. Walloding Theory and Cryptography: The

Es-sentials, Chapman & Hall/CRC (2000).

2. B. Korte and J. Vygen, Combinatorial Optimization: Theory and

Algo-rithms, Bonn: Springer (2006).

3. K. M. Kathiresan and C. Parameswaran Certain generalized thorn graphs

and their Wiener Indices,J. Applied Math. & Informatics,30(5-6),(2012),

793–807.

4. N. De, A. Pal,and Sk. Md. Abu Nayeem, The irregularity of composite

graphs, Int J. Appl. Comput. Math. 2, (2006), 411–420.

5. A. B. Ganagi and H.S. Ramane, Hamming distance between string

gener-ated by adjacency matrix of a graph and their sum, Algebra and Discrete

Mathematics,22(1), (2006), 82–93.

6. H. S. Ramane and A. B. Ganagi, Hamming index of a class of graphs,

In-ternational Journal of Current Engineering and Technology, Special Edi-tion 1, (2013), 205–208.

Revi Pasaribu: Department of Mathematics, Universitas Sumatera Utara, Medan

20155 -Indonesia.

Mardiningsih: Department of Mathematics, Universitas Sumatera Utara, Medan

20155 -Indonesia.

Saib Suwilo: Department of Mathematics, Universitas Sumatera Utara, Medan

20155 -Indonesia.

Referensi

Dokumen terkait

Our goal of this section is to establish a general formula for the super edge- magic deficiency of graphs without isolated vertices that have α -valuations, but not sequential..

Further we obtain the CD -energy of line graphs of certain regular graphs and thus constructs pairs of CD -equienergetic graphs of same order and having different CD -eigenvalues..

In this paper we will construct the super edge-magic total graphs by hanging any number of pendant vertices from vertices of the cycles, generalized prisms and generalized

Cubicity Boxicity respectively can be stated in terms of intersection of indifference graphs interval graphs as follows: Lemma 1.. Roberts [20] The cubicity boxicity of a graph G is

F eigen-chromatic stability 1 The complete graphKn, onn vertices ishyper eigen-chromatically stable 2 The path graphs Pn on nvertices iseigen-chromatically unstable 3 The cycle graphs

Representing Graphs by Adjacency Lists An other way to represent a graph without multiple edges is to use adjacency lists, which specify the vertices that are adjacent to each vertex

These graph invariants depend on the eigenvalues of the first Zagreb matrix in the same manner as the ordinary graph energy and Estrada index depend on the eigenvalues of the adjacency

18 % SIMILARITY INDEX 1 2 3 4 5 6 7 8 The Locating-Chromatic Number for Certain Operation of Generalized Petersen Graphs sP4,2 ORIGINALITY REPORT PRIMARY SOURCES www.pphmj.com