Volume 3, Issue 1 (May 2008)                   IJMSI 2008, 3(1): 1-12 | Back to browse issues page


XML Print


Abstract:  

The Wiener index of a graph Gis defined as W(G) =1/2[Sum(d(i,j)] over all pair of elements of V(G), where V (G) is the set of vertices of G and d(i, j) is the distance between vertices i and j. In this paper, we give an algorithm by GAP program that can be compute the Wiener index for any graph also we compute the Wiener index of HAC5C7[p, q] and HAC5C6C7[p, q] nanotubes by this program.

Type of Study: Research paper | Subject: General