International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 41 - Number 14 |
Year of Publication: 2012 |
Authors: Dharya Arora, Shalini Batra |
10.5120/5612-7888 |
Dharya Arora, Shalini Batra . Using Treaps for Optimization of Graph Storage. International Journal of Computer Applications. 41, 14 ( March 2012), 41-44. DOI=10.5120/5612-7888
Adjacency matrix is an effective technique used to represent a graph or a Social network comprising of large number of vertices and edges. The intent is of this paper is to optimize the graph storage and mapping without using a large adjacency matrix to represent a large graph. A special data structure Treap, a combination of binary search tree and heaps has been used as a replacement to a large adjacency matrix. It has been experimentally evaluated that the proposed approach significantly improves the space occupied by adjacency matrix and helps the graph to grow dynamically without affecting the current data structure.