DocumentCode
688523
Title
Stack implementation of adjacency list for representation of graphs
Author
Yadav, Ankesh ; Bhat, Aruna ; Jindal, Rohit
Author_Institution
Indira Gandhi Delhi Tech. Univ. for Women, New Delhi, India
fYear
2013
fDate
26-27 Sept. 2013
Firstpage
419
Lastpage
423
Abstract
Graph theory has played a vital role in implementation of many mathematical and computer applications [8]. The immensely critical role of graph theory calls for an efficient methodology of representing the graphs. In this paper we explore an approach to represent the graphs [1] through adjacency lists using stacks instead of the conventional methods that use linked list for creating adjacency lists [3][7]. The method discussed here is motivated by the practical requirements in terms of performance and implementation ease. We propose a new methodology to create the adjacency lists for storing the graphs through a stack [9] within an array. The array is used to store the initial vertex of every edge present in the graph. All array elements will be associated with a stack which can be used to store the end points of the edges. It provides a better mechanism of storing graphs in database as compared to the existing technique which suffers from the problem of memory allocation as it does not use the contiguous memory.
Keywords
data structures; graph theory; adjacency lists; graph data structure; graph representation; graph theory; memory allocation; Adjacency List; Associated list; Complexity; Directed Graph; Graph; Linked List; Node; Stacks; Undirected Graph; running time;
fLanguage
English
Publisher
iet
Conference_Titel
Confluence 2013: The Next Generation Information Technology Summit (4th International Conference)
Conference_Location
Noida
Electronic_ISBN
978-1-84919-846-2
Type
conf
DOI
10.1049/cp.2013.2349
Filename
6832365
Link To Document